diff options
author | Roger Qiu <roger.qiu@polyhack.io> | 2018-08-01 08:05:21 +1000 |
---|---|---|
committer | Robert Schütz <rschuetz17@gmail.com> | 2018-08-01 00:05:21 +0200 |
commit | 0f70e78d377954c689f13e6f14047cf9c1ed9596 (patch) | |
tree | e4c9bb54c12340cd7adb91ce8d240252939272de /pkgs/development/python-modules | |
parent | e8d6ceaf397959250b56fc5600144f9e25840b71 (diff) | |
download | nixlib-0f70e78d377954c689f13e6f14047cf9c1ed9596.tar nixlib-0f70e78d377954c689f13e6f14047cf9c1ed9596.tar.gz nixlib-0f70e78d377954c689f13e6f14047cf9c1ed9596.tar.bz2 nixlib-0f70e78d377954c689f13e6f14047cf9c1ed9596.tar.lz nixlib-0f70e78d377954c689f13e6f14047cf9c1ed9596.tar.xz nixlib-0f70e78d377954c689f13e6f14047cf9c1ed9596.tar.zst nixlib-0f70e78d377954c689f13e6f14047cf9c1ed9596.zip |
pythonPackages.fastpair: init at 2016-07-05 (#43722)
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/fastpair/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/fastpair/default.nix b/pkgs/development/python-modules/fastpair/default.nix new file mode 100644 index 000000000000..f065bc6ac77f --- /dev/null +++ b/pkgs/development/python-modules/fastpair/default.nix @@ -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 ]; + }; +} |