Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / ocaml-modules / tsdl-image / default.nix
blob3b0895b7b2f62f0bf157d508e8b4b50befd4ca93
1 { buildDunePackage
2 , dune-configurator
3 , fetchFromGitHub
4 , lib
5 , SDL2
6 , SDL2_image
7 , tsdl
8 }:
10 buildDunePackage rec {
11   pname = "tsdl-image";
12   version = "0.5";
14   duneVersion = "3";
16   src = fetchFromGitHub {
17     owner = "sanette";
18     repo = pname;
19     rev = version;
20     hash = "sha256-khLhVJuiLNNWw76gTeg4W32v5XbkwAg11bIOWl67u2k=";
21   };
23   buildInputs = [
24     dune-configurator
25   ];
27   propagatedBuildInputs = [
28     SDL2
29     SDL2_image
30     tsdl
31   ];
33   meta = with lib; {
34     description = "OCaml SDL2_image bindings to go with Tsdl";
35     homepage = "https://github.com/sanette/tsdl-image";
36     license = licenses.bsd3;
37     maintainers = with maintainers; [ ];
38   };