nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6}:
7
8buildPythonPackage rec {
9 pname = "pfzy";
10 version = "0.3.4";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "kazhala";
15 repo = "pfzy";
16 tag = version;
17 hash = "sha256-+Ba/yLUfT0SPPAJd+pKyjSvNrVpEwxW3xEKFx4JzpYk=";
18 };
19
20 nativeBuildInputs = [ poetry-core ];
21
22 pythonImportsCheck = [ "pfzy" ];
23
24 meta = {
25 description = "Python port of the fzy fuzzy string matching algorithm";
26 homepage = "https://github.com/kazhala/pfzy";
27 license = lib.licenses.mit;
28 maintainers = with lib.maintainers; [ fab ];
29 };
30}