ocamlPackages.tsdl-ttf: init 0.3.2

This commit is contained in:
superherointj 2022-05-31 15:55:12 -03:00 committed by Vincent Laporte
parent b161742e86
commit 174d0fbdda
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ buildDunePackage
, dune-configurator
, fetchFromGitHub
, lib
, SDL2
, SDL2_ttf
, tsdl
}:
buildDunePackage rec {
pname = "tsdl-ttf";
version = "0.3.2";
src = fetchFromGitHub {
owner = "sanette";
repo = pname;
rev = version;
sha256 = "sha256-COBLF9K8thRROJJGeg4wxqrjB3aBa4CGYkf8HdAQ2o0";
};
buildInputs = [
dune-configurator
];
propagatedBuildInputs = [
SDL2
SDL2_ttf
tsdl
];
meta = with lib; {
description = "SDL2_ttf bindings for Ocaml with Tsdl";
homepage = "https://github.com/sanette/tsdl-ttf";
license = licenses.bsd3;
maintainers = with maintainers; [ superherointj ];
};
}

View file

@ -1369,6 +1369,8 @@ let
tsdl-image = callPackage ../development/ocaml-modules/tsdl-image { };
tsdl-ttf = callPackage ../development/ocaml-modules/tsdl-ttf { };
twt = callPackage ../development/ocaml-modules/twt { };
uchar = callPackage ../development/ocaml-modules/uchar { };