mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
40 lines
665 B
Nix
40 lines
665 B
Nix
{ buildDunePackage
|
|
, dune-configurator
|
|
, fetchFromGitHub
|
|
, lib
|
|
, SDL2
|
|
, SDL2_mixer
|
|
, tsdl
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "tsdl-mixer";
|
|
version = "0.5";
|
|
|
|
duneVersion = "3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sanette";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-HGtO5iO3lxuVa707MDIhw0pgDZLHt9qY+Rd24sFkags=";
|
|
};
|
|
|
|
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; [ ];
|
|
};
|
|
}
|