Merge pull request #146680 from fabaff/bump-identify

python3Packages.identify: 2.3.7 -> 2.4.0
This commit is contained in:
Fabian Affolter 2021-11-20 09:34:28 +01:00 committed by GitHub
commit 7e64ca0d1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 48 additions and 3 deletions

View file

@ -1,14 +1,15 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, editdistance-s
, fetchFromGitHub , fetchFromGitHub
, pytestCheckHook , pytestCheckHook
, editdistance-s
, pythonOlder , pythonOlder
, ukkonen
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "identify"; pname = "identify";
version = "2.3.7"; version = "2.4.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -17,12 +18,13 @@ buildPythonPackage rec {
owner = "pre-commit"; owner = "pre-commit";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-L71Zi0SWFh7K4BRwF57prdrIdxLp8Igs0k/gc6k1+Mo="; sha256 = "sha256-0J3P3RawafVAfOUhK9qSz5K8y0goMqTjMh5PL60sqME=";
}; };
checkInputs = [ checkInputs = [
editdistance-s editdistance-s
pytestCheckHook pytestCheckHook
ukkonen
]; ];
pythonImportsCheck = [ pythonImportsCheck = [

View file

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, cffi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "ukkonen";
version = "1.0.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "asottile";
repo = pname;
rev = "v${version}";
sha256 = "jG6VP/P5sadrdrmneH36/ExSld9blyMAAG963QS9+p0=";
};
nativeBuildInputs = [
cffi
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"ukkonen"
];
meta = with lib; {
description = "Python implementation of bounded Levenshtein distance (Ukkonen)";
homepage = "https://github.com/asottile/ukkonen";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -9586,6 +9586,8 @@ in {
ujson = callPackage ../development/python-modules/ujson { }; ujson = callPackage ../development/python-modules/ujson { };
ukkonen = callPackage ../development/python-modules/ukkonen { };
ukpostcodeparser = callPackage ../development/python-modules/ukpostcodeparser { }; ukpostcodeparser = callPackage ../development/python-modules/ukpostcodeparser { };
umalqurra = callPackage ../development/python-modules/umalqurra { }; umalqurra = callPackage ../development/python-modules/umalqurra { };