mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
40 lines
671 B
Nix
40 lines
671 B
Nix
{ buildDunePackage
|
|
, dune-configurator
|
|
, fetchFromGitHub
|
|
, lib
|
|
, SDL2
|
|
, SDL2_image
|
|
, tsdl
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "tsdl-image";
|
|
version = "0.5";
|
|
|
|
duneVersion = "3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sanette";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-khLhVJuiLNNWw76gTeg4W32v5XbkwAg11bIOWl67u2k=";
|
|
};
|
|
|
|
buildInputs = [
|
|
dune-configurator
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
SDL2
|
|
SDL2_image
|
|
tsdl
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "OCaml SDL2_image bindings to go with Tsdl";
|
|
homepage = "https://github.com/sanette/tsdl-image";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|