python310Packages.pfzy: init at 0.3.4

This commit is contained in:
Fabian Affolter 2023-05-13 15:17:00 +02:00
parent 785633131d
commit a39a8882c2
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "pfzy";
version = "0.3.4";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "kazhala";
repo = "pfzy";
rev = "refs/tags/${version}";
hash = "sha256-+Ba/yLUfT0SPPAJd+pKyjSvNrVpEwxW3xEKFx4JzpYk=";
};
nativeBuildInputs = [
poetry-core
];
pythonImportsCheck = [
"pfzy"
];
meta = with lib; {
description = "Python port of the fzy fuzzy string matching algorithm";
homepage = "https://github.com/kazhala/pfzy";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -7376,6 +7376,8 @@ self: super: with self; {
pexpect = callPackage ../development/python-modules/pexpect { };
pfzy = callPackage ../development/python-modules/pfzy { };
pg8000 = callPackage ../development/python-modules/pg8000 { };
pgcli = callPackage ../development/python-modules/pgcli { };