nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 48 lines 722 B view raw
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 = "ocamllibs"; 16 repo = "pyml"; 17 tag = version; 18 hash = "sha256-0Yy5T/S3Npwt0XJmEsdXGg5AXYi9vV9UG9nMSzz/CEc="; 19 }; 20 21 patches = [ 22 ./remove-stdcompat.patch 23 ]; 24 25 buildInputs = [ 26 utop 27 ]; 28 29 propagatedBuildInputs = [ 30 python3 31 stdcompat 32 ]; 33 34 nativeCheckInputs = [ 35 python3.pkgs.numpy 36 python3.pkgs.ipython 37 ]; 38 39 strictDeps = true; 40 41 doCheck = true; 42 43 meta = { 44 description = "OCaml bindings for Python"; 45 homepage = "https://github.com/ocamllibs/pyml"; 46 license = lib.licenses.bsd2; 47 }; 48}