mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
39 lines
647 B
Nix
39 lines
647 B
Nix
{ buildDunePackage
|
|
, dune-configurator
|
|
, fetchFromGitHub
|
|
, lib
|
|
, SDL2
|
|
, SDL2_mixer
|
|
, tsdl
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "tsdl-mixer";
|
|
version = "0.6";
|
|
|
|
duneVersion = "3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sanette";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-szuGmLzgGyQExCQwpopVNswtZZdhP29Q1+uNQJZb43Q=";
|
|
};
|
|
|
|
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 = [ ];
|
|
};
|
|
}
|