ocamlPackages.tsdl-image: init 0.3.2

This commit is contained in:
superherointj 2022-05-31 14:26:46 -03:00 committed by Vincent Laporte
parent 5feacad694
commit b161742e86
2 changed files with 39 additions and 0 deletions

View 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 ];
};
}

View file

@ -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 { };