mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.bottleneck: migrate to pyproject (#528833)
This commit is contained in:
commit
36a55c2bba
1 changed files with 14 additions and 7 deletions
|
|
@ -2,30 +2,37 @@
|
|||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
versioneer,
|
||||
numpy,
|
||||
pytestCheckHook,
|
||||
python,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "bottleneck";
|
||||
version = "1.6.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-Ao1G7ksCWtmrTXmSQROBb4JfYrF7h8nh0NjOFEpKDjE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
build-system = [
|
||||
setuptools
|
||||
versioneer
|
||||
];
|
||||
|
||||
dependencies = [ numpy ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
preCheck = "pushd $out";
|
||||
postCheck = "popd";
|
||||
|
||||
disabledTests = [ "test_make_c_files" ];
|
||||
|
||||
pythonImportsCheck = [ "bottleneck" ];
|
||||
|
||||
meta = {
|
||||
|
|
@ -34,4 +41,4 @@ buildPythonPackage rec {
|
|||
license = lib.licenses.bsd2;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue