2021-07-24 12:14:16 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, pytest-runner, pytest, scipy, pytestCheckHook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage {
|
|
|
|
pname = "fastpair";
|
2021-05-20 23:08:51 +00:00
|
|
|
version = "2021-05-19";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "carsonfarmer";
|
|
|
|
repo = "fastpair";
|
2021-05-20 23:08:51 +00:00
|
|
|
rev = "d3170fd7e4d6e95312e7e1cb02e84077a3f06379";
|
|
|
|
sha256 = "1l8zgr8awg27lhlkpa2dsvghrb7b12jl1bkgpzg5q7pg8nizl9mx";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-07-24 12:14:16 +00:00
|
|
|
nativeBuildInputs = [ pytest-runner ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
checkInputs = [ pytest pytestCheckHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
scipy
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/carsonfarmer/fastpair";
|
|
|
|
description = "Data-structure for the dynamic closest-pair problem";
|
|
|
|
license = licenses.mit;
|
2021-05-20 23:08:51 +00:00
|
|
|
maintainers = with maintainers; [ cmcdragonkai rakesh4g ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|