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