ocamlPackages.tsdl-mixer: init 0.3.2

This commit is contained in:
superherointj 2022-05-31 16:06:44 -03:00 committed by Vincent Laporte
parent 174d0fbdda
commit 13785fcc8f
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ buildDunePackage
, dune-configurator
, fetchFromGitHub
, lib
, SDL2
, SDL2_mixer
, tsdl
}:
buildDunePackage rec {
pname = "tsdl-mixer";
version = "0.3.2";
src = fetchFromGitHub {
owner = "sanette";
repo = pname;
rev = version;
sha256 = "sha256-UDRhwnanrn87/PYVnacur1z/LsKuUu2G+0QQXjTw/IE=";
};
buildInputs = [
dune-configurator
];
propagatedBuildInputs = [
SDL2
SDL2_mixer
tsdl
];
meta = with lib; {
description = "SDL2_mixer bindings to go with Tsdl";
homepage = "https://github.com/sanette/tsdl-mixer";
license = licenses.bsd3;
maintainers = with maintainers; [ superherointj ];
};
}

View file

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