depot/third_party/nixpkgs/pkgs/development/python-modules/pyslim/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

45 lines
804 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
, pythonOlder
, msprime
, numpy
, tskit
}:
buildPythonPackage rec {
pname = "pyslim";
version = "1.0.3";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-BRfv5AcdRpnvk7zGeYYWweh+foFEOSZjz3pTjX8KOnA=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
msprime
tskit
numpy
];
# Requires non-packaged software SLiM
doCheck = false;
pythonImportsCheck = [
"pyslim"
];
meta = with lib; {
description = "Tools for dealing with tree sequences coming to and from SLiM";
homepage = "https://github.com/tskit-dev/pyslim";
license = licenses.mit;
maintainers = with maintainers; [ alxsimon ];
};
}