Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
41 lines
662 B
Nix
41 lines
662 B
Nix
{
|
|
buildDunePackage,
|
|
dune-configurator,
|
|
fetchFromGitHub,
|
|
lib,
|
|
SDL2,
|
|
SDL2_image,
|
|
tsdl,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "tsdl-image";
|
|
version = "0.6";
|
|
|
|
duneVersion = "3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sanette";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-mgTFwkuFJVwJmHrzHSdNh8v4ehZIcWemK+eLqjglw5o=";
|
|
};
|
|
|
|
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 = [ ];
|
|
};
|
|
}
|