From 174d0fbddaaa997c15cde4164599b51c457d3199 Mon Sep 17 00:00:00 2001 From: superherointj <5861043+superherointj@users.noreply.github.com> Date: Tue, 31 May 2022 15:55:12 -0300 Subject: ocamlPackages.tsdl-ttf: init 0.3.2 --- .../development/ocaml-modules/tsdl-ttf/default.nix | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pkgs/development/ocaml-modules/tsdl-ttf/default.nix (limited to 'pkgs/development/ocaml-modules/tsdl-ttf/default.nix') diff --git a/pkgs/development/ocaml-modules/tsdl-ttf/default.nix b/pkgs/development/ocaml-modules/tsdl-ttf/default.nix new file mode 100644 index 00000000000..c8445bf4337 --- /dev/null +++ b/pkgs/development/ocaml-modules/tsdl-ttf/default.nix @@ -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 ]; + }; +} -- cgit 1.4.1