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