python310Packages.pyslim: init at version 1.0.3
Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com>
This commit is contained in:
co-authored by
OTABI Tomoya
parent
646d7c14cf
commit
ddc7a6c810
@@ -0,0 +1,45 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
||||
@@ -9462,6 +9462,8 @@ self: super: with self; {
|
||||
|
||||
pysingleton = callPackage ../development/python-modules/pysingleton { };
|
||||
|
||||
pyslim = callPackage ../development/python-modules/pyslim { };
|
||||
|
||||
pyslurm = callPackage ../development/python-modules/pyslurm {
|
||||
inherit (pkgs) slurm;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user