Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitHub, 5 numpy, 6 camlzip, 7}: 8 9buildDunePackage rec { 10 pname = "npy"; 11 version = "0.0.9"; 12 13 duneVersion = "3"; 14 15 minimalOCamlVersion = "4.06"; 16 17 src = fetchFromGitHub { 18 owner = "LaurentMazare"; 19 repo = "${pname}-ocaml"; 20 rev = version; 21 hash = "sha256:1fryglkm20h6kdqjl55b7065b34bdg3g3p6j0jv33zvd1m5888m1"; 22 }; 23 24 propagatedBuildInputs = [ camlzip ]; 25 nativeCheckInputs = [ numpy ]; 26 27 doCheck = true; 28 29 meta = with lib; { 30 inherit (src.meta) homepage; 31 description = "OCaml implementation of the Npy format spec"; 32 maintainers = [ maintainers.bcdarwin ]; 33 license = licenses.asl20; 34 }; 35}