mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
ocamlPackages.tsdl-ttf: init 0.3.2
This commit is contained in:
parent
b161742e86
commit
174d0fbdda
2 changed files with 39 additions and 0 deletions
37
pkgs/development/ocaml-modules/tsdl-ttf/default.nix
Normal file
37
pkgs/development/ocaml-modules/tsdl-ttf/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue