1{ lib, buildPythonPackage, fetchFromGitHub, pytest-runner, pytest, scipy, pytestCheckHook }:
2
3buildPythonPackage {
4 pname = "fastpair";
5 version = "2021-05-19";
6
7 src = fetchFromGitHub {
8 owner = "carsonfarmer";
9 repo = "fastpair";
10 rev = "d3170fd7e4d6e95312e7e1cb02e84077a3f06379";
11 sha256 = "1l8zgr8awg27lhlkpa2dsvghrb7b12jl1bkgpzg5q7pg8nizl9mx";
12 };
13
14 nativeBuildInputs = [ pytest-runner ];
15
16 checkInputs = [ pytest pytestCheckHook ];
17
18 propagatedBuildInputs = [
19 scipy
20 ];
21
22 meta = with lib; {
23 homepage = "https://github.com/carsonfarmer/fastpair";
24 description = "Data-structure for the dynamic closest-pair problem";
25 license = licenses.mit;
26 maintainers = with maintainers; [ cmcdragonkai rakesh4g ];
27 };
28}