depot/third_party/nixpkgs/pkgs/development/ocaml-modules/tsdl-image/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

39 lines
671 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 = with maintainers; [ ];
};
}