diff options
author | superherointj <5861043+superherointj@users.noreply.github.com> | 2022-05-31 16:06:44 -0300 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2022-06-01 07:30:47 +0200 |
commit | 13785fcc8fe1fa281979c3e378ae3923bb3170e6 (patch) | |
tree | 63a13326cf7d6b052af69a1b3aa563c2a9057042 /pkgs/development/ocaml-modules | |
parent | 174d0fbddaaa997c15cde4164599b51c457d3199 (diff) |
ocamlPackages.tsdl-mixer: init 0.3.2
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/tsdl-mixer/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/tsdl-mixer/default.nix b/pkgs/development/ocaml-modules/tsdl-mixer/default.nix new file mode 100644 index 0000000000000..4a59025f9d880 --- /dev/null +++ b/pkgs/development/ocaml-modules/tsdl-mixer/default.nix @@ -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 ]; + }; +} |