nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ buildDunePackage
2, dune-configurator
3, fetchFromGitHub
4, lib
5, SDL2
6, SDL2_mixer
7, tsdl
8}:
9
10buildDunePackage rec {
11 pname = "tsdl-mixer";
12 version = "0.5";
13
14 duneVersion = "3";
15
16 src = fetchFromGitHub {
17 owner = "sanette";
18 repo = pname;
19 rev = version;
20 hash = "sha256-HGtO5iO3lxuVa707MDIhw0pgDZLHt9qY+Rd24sFkags=";
21 };
22
23 buildInputs = [
24 dune-configurator
25 ];
26
27 propagatedBuildInputs = [
28 SDL2
29 SDL2_mixer
30 tsdl
31 ];
32
33 meta = with lib; {
34 description = "SDL2_mixer bindings to go with Tsdl";
35 homepage = "https://github.com/sanette/tsdl-mixer";
36 license = licenses.bsd3;
37 maintainers = with maintainers; [ ];
38 };
39}