075e8c2c4f
This is almost all find-and-replace. I manually edited: * pkgs/development/python-modules/notifications-android-tv/default.nix, * pkgs/servers/home-assistant/default.nix, * pkgs/development/tools/continuous-integration/buildbot/master.nix A few files have not been changed in this PR because they would cause rebuilds. This PR should have 0 rebuilds.
50 lines
892 B
Nix
50 lines
892 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools-scm,
|
|
ruamel-yaml,
|
|
attrs,
|
|
pytest7CheckHook,
|
|
pytest-cov-stub,
|
|
pytest-xdist,
|
|
numpy,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "demes";
|
|
version = "0.2.3";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-nmE7ZbR126J3vKdR3h83qJ/V602Fa6J3M6IJnIqCNhc=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
|
|
|
propagatedBuildInputs = [
|
|
ruamel-yaml
|
|
attrs
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest7CheckHook
|
|
pytest-cov-stub
|
|
pytest-xdist
|
|
numpy
|
|
];
|
|
|
|
disabledTestPaths = [ "tests/test_spec.py" ];
|
|
|
|
pythonImportsCheck = [ "demes" ];
|
|
|
|
meta = {
|
|
description = "Tools for describing and manipulating demographic models";
|
|
mainProgram = "demes";
|
|
homepage = "https://github.com/popsim-consortium/demes-python";
|
|
license = lib.licenses.isc;
|
|
maintainers = [ ];
|
|
};
|
|
}
|