ocamlPackages.tsdl-image: init 0.3.2
This commit is contained in:
parent
5feacad694
commit
b161742e86
2 changed files with 39 additions and 0 deletions
37
pkgs/development/ocaml-modules/tsdl-image/default.nix
Normal file
37
pkgs/development/ocaml-modules/tsdl-image/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ buildDunePackage
|
||||
, dune-configurator
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, SDL2
|
||||
, SDL2_image
|
||||
, tsdl
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "tsdl-image";
|
||||
version = "0.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sanette";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-u6VYAwq+2oLn2Kw1+KQRVPswAqeKDSAaPfGLPrzn30s=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
dune-configurator
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
SDL2
|
||||
SDL2_image
|
||||
tsdl
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "OCaml SDL2_image bindings to go with Tsdl";
|
||||
homepage = "https://github.com/sanette/tsdl-image";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ superherointj ];
|
||||
};
|
||||
}
|
|
@ -1367,6 +1367,8 @@ let
|
|||
|
||||
tsdl = callPackage ../development/ocaml-modules/tsdl { };
|
||||
|
||||
tsdl-image = callPackage ../development/ocaml-modules/tsdl-image { };
|
||||
|
||||
twt = callPackage ../development/ocaml-modules/twt { };
|
||||
|
||||
uchar = callPackage ../development/ocaml-modules/uchar { };
|
||||
|
|
Loading…
Reference in a new issue