mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
46 lines
722 B
Nix
46 lines
722 B
Nix
{
|
|
buildDunePackage,
|
|
lib,
|
|
fetchFromGitHub,
|
|
utop,
|
|
python3,
|
|
stdcompat,
|
|
}:
|
|
|
|
buildDunePackage (finalAttrs: {
|
|
pname = "pyml";
|
|
version = "20250807";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ocamllibs";
|
|
repo = "pyml";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-WPtmj9EEs7P72OXWJg1syIrbLuh7u4V4W4nyozXmSa0=";
|
|
};
|
|
|
|
buildInputs = [
|
|
utop
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
python3
|
|
stdcompat
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
python3.pkgs.numpy
|
|
python3.pkgs.ipython
|
|
];
|
|
|
|
strictDeps = true;
|
|
__structuredAttrs = true;
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = "OCaml bindings for Python";
|
|
homepage = "https://github.com/ocamllibs/pyml";
|
|
license = lib.licenses.bsd2;
|
|
};
|
|
})
|