nixpkgs/pkgs/development/python-modules/fastpair/default.nix

29 lines
750 B
Nix
Raw Normal View History

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