pythonPackages.fastpair: init at 2016-07-05 (#43722)

This commit is contained in:
Roger Qiu 2018-08-01 08:05:21 +10:00 committed by Robert Schütz
parent e8d6ceaf39
commit 0f70e78d37
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, pytestrunner, pytest, scipy }:
buildPythonPackage {
pname = "fastpair";
version = "2016-07-05";
src = fetchFromGitHub {
owner = "carsonfarmer";
repo = "fastpair";
rev = "92364962f6b695661f35a117bf11f96584128a8d";
sha256 = "1pv9sxycxdk567s5gs947rhlqngrb9nn9yh4dhdvg1ix1i8dca71";
};
buildInputs = [ pytestrunner ];
checkInputs = [ pytest ];
propagatedBuildInputs = [
scipy
];
checkPhase = ''
py.test fastpair
'';
meta = with stdenv.lib; {
homepage = https://github.com/carsonfarmer/fastpair;
description = "Data-structure for the dynamic closest-pair problem";
license = licenses.mit;
maintainers = with maintainers; [ cmcdragonkai ];
};
}

View File

@ -5289,6 +5289,8 @@ in {
fastimport = callPackage ../development/python-modules/fastimport { }; fastimport = callPackage ../development/python-modules/fastimport { };
fastpair = callPackage ../development/python-modules/fastpair { };
fastrlock = callPackage ../development/python-modules/fastrlock {}; fastrlock = callPackage ../development/python-modules/fastrlock {};
feedgen = callPackage ../development/python-modules/feedgen { }; feedgen = callPackage ../development/python-modules/feedgen { };