mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
pythonPackages.pykdtree: init at 1.3.0 (#41355)
This commit is contained in:
parent
c958516cb3
commit
26c194d000
2 changed files with 28 additions and 0 deletions
24
pkgs/development/python-modules/pykdtree/default.nix
Normal file
24
pkgs/development/python-modules/pykdtree/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi, numpy, nose, openmp }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pykdtree";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "79351b79087f473f83fb27a5cd552bd1056f2dfa7acec5d4a68f35a7cbea6776";
|
||||
};
|
||||
|
||||
buildInputs = [ openmp ];
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
checkInputs = [ nose ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "kd-tree implementation for fast nearest neighbour search in Python";
|
||||
homepage = https://github.com/storpipfugl/pykdtree;
|
||||
license = licenses.lgpl3;
|
||||
maintainers = with maintainers; [ psyanticy ];
|
||||
};
|
||||
}
|
|
@ -384,6 +384,10 @@ in {
|
|||
callPackage = pkgs.callPackage;
|
||||
};
|
||||
|
||||
pykdtree = callPackage ../development/python-modules/pykdtree {
|
||||
inherit (pkgs.llvmPackages) openmp;
|
||||
};
|
||||
|
||||
pyparser = callPackage ../development/python-modules/pyparser { };
|
||||
|
||||
pyqt4 = callPackage ../development/python-modules/pyqt/4.x.nix {
|
||||
|
|
Loading…
Reference in a new issue