Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 buildDunePackage, 3 lib, 4 fetchFromGitHub, 5 utop, 6 python3, 7 stdcompat, 8}: 9 10buildDunePackage rec { 11 pname = "pyml"; 12 version = "20231101"; 13 14 src = fetchFromGitHub { 15 owner = "thierry-martinez"; 16 repo = "pyml"; 17 rev = version; 18 sha256 = "sha256-0Yy5T/S3Npwt0XJmEsdXGg5AXYi9vV9UG9nMSzz/CEc="; 19 }; 20 21 buildInputs = [ 22 utop 23 ]; 24 25 propagatedBuildInputs = [ 26 python3 27 stdcompat 28 ]; 29 30 nativeCheckInputs = [ 31 python3.pkgs.numpy 32 python3.pkgs.ipython 33 ]; 34 35 strictDeps = true; 36 37 doCheck = true; 38 39 meta = { 40 description = "OCaml bindings for Python"; 41 homepage = "https://github.com/thierry-martinez/pyml"; 42 license = lib.licenses.bsd2; 43 }; 44}