Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
45 lines
689 B
Nix
45 lines
689 B
Nix
{
|
|
buildDunePackage,
|
|
lib,
|
|
fetchFromGitHub,
|
|
utop,
|
|
python3,
|
|
stdcompat,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "pyml";
|
|
version = "20231101";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "thierry-martinez";
|
|
repo = "pyml";
|
|
rev = version;
|
|
sha256 = "sha256-0Yy5T/S3Npwt0XJmEsdXGg5AXYi9vV9UG9nMSzz/CEc=";
|
|
};
|
|
|
|
buildInputs = [
|
|
utop
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
python3
|
|
stdcompat
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
python3.pkgs.numpy
|
|
python3.pkgs.ipython
|
|
];
|
|
|
|
strictDeps = true;
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = "OCaml bindings for Python";
|
|
homepage = "https://github.com/thierry-martinez/pyml";
|
|
license = lib.licenses.bsd2;
|
|
};
|
|
}
|