mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-04 03:03:42 +00:00
python3Packages.pykdtree: 1.3.4 -> 1.3.5
This commit is contained in:
parent
5a5ff89ef2
commit
0b65877af9
@ -1,19 +1,24 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, numpy, nose, openmp }:
|
||||
{ lib, buildPythonPackage, fetchPypi, numpy, pytestCheckHook, openmp }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pykdtree";
|
||||
version = "1.3.4";
|
||||
version = "1.3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "bebe5c608129f2997e88510c00010b9a78581b394924c0e3ecd131d52415165d";
|
||||
sha256 = "sha256-c0L3XnMRA+ZT/B9rn9q8JBDPkrbnsGFggEp1eGybV0c=";
|
||||
};
|
||||
|
||||
buildInputs = [ openmp ];
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
checkInputs = [ nose ];
|
||||
preCheck = ''
|
||||
# make sure we don't import pykdtree from the source tree
|
||||
mv pykdtree tests
|
||||
'';
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "kd-tree implementation for fast nearest neighbour search in Python";
|
||||
|
Loading…
Reference in New Issue
Block a user