Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildDunePackage
2, dune-configurator
3, fetchFromGitHub
4, lib
5, SDL2
6, SDL2_ttf
7, tsdl
8}:
9
10buildDunePackage rec {
11 pname = "tsdl-ttf";
12 version = "0.5";
13
14 duneVersion = "3";
15
16 src = fetchFromGitHub {
17 owner = "sanette";
18 repo = pname;
19 rev = version;
20 hash = "sha256-ai9ChsA3HZzTxT9AuHsY1UIA2Q3U3CcOA7jRSG4MDsQ=";
21 };
22
23 buildInputs = [
24 dune-configurator
25 ];
26
27 propagatedBuildInputs = [
28 SDL2
29 SDL2_ttf
30 tsdl
31 ];
32
33 meta = with lib; {
34 description = "SDL2_ttf bindings for Ocaml with Tsdl";
35 homepage = "https://github.com/sanette/tsdl-ttf";
36 license = licenses.bsd3;
37 maintainers = with maintainers; [ ];
38 };
39}