2021-05-19 10:28:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, pytestrunner, pytest, scipy, pytestCheckHook }:
|
2018-07-31 22:05:21 +00:00
|
|
|
|
|
|
|
buildPythonPackage {
|
|
|
|
pname = "fastpair";
|
2021-05-19 10:28:51 +00:00
|
|
|
version = "2021-05-19";
|
2018-07-31 22:05:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "carsonfarmer";
|
|
|
|
repo = "fastpair";
|
2021-05-19 10:28:51 +00:00
|
|
|
rev = "d3170fd7e4d6e95312e7e1cb02e84077a3f06379";
|
|
|
|
sha256 = "1l8zgr8awg27lhlkpa2dsvghrb7b12jl1bkgpzg5q7pg8nizl9mx";
|
2018-07-31 22:05:21 +00:00
|
|
|
};
|
|
|
|
|
2019-07-13 09:26:00 +00:00
|
|
|
nativeBuildInputs = [ pytestrunner ];
|
2018-07-31 22:05:21 +00:00
|
|
|
|
2021-05-19 10:28:51 +00:00
|
|
|
checkInputs = [ pytest pytestCheckHook ];
|
2018-07-31 22:05:21 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
scipy
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/carsonfarmer/fastpair";
|
2018-07-31 22:05:21 +00:00
|
|
|
description = "Data-structure for the dynamic closest-pair problem";
|
|
|
|
license = licenses.mit;
|
2021-05-19 10:28:51 +00:00
|
|
|
maintainers = with maintainers; [ cmcdragonkai rakesh4g ];
|
2018-07-31 22:05:21 +00:00
|
|
|
};
|
|
|
|
}
|