Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitHub, 5 dune-configurator, 6 gd, 7}: 8 9buildDunePackage rec { 10 pname = "gd"; 11 version = "1.1"; 12 13 src = fetchFromGitHub { 14 owner = "savonet"; 15 repo = "ocaml-gd"; 16 rev = "v${version}"; 17 sha256 = "sha256-78cqxVEappTybRLk7Y6vW1POvZKFIxtGNVcmkKq9GEE="; 18 }; 19 20 buildInputs = [ dune-configurator ]; 21 propagatedBuildInputs = [ gd ]; 22 23 meta = with lib; { 24 homepage = "https://github.com/savonet/ocaml-gd"; 25 description = "OCaml bindings for gd"; 26 license = licenses.lgpl21Only; 27 maintainers = with maintainers; [ dandellion ]; 28 }; 29}