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