mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
Merge pull request #146680 from fabaff/bump-identify
python3Packages.identify: 2.3.7 -> 2.4.0
This commit is contained in:
commit
7e64ca0d1e
|
@ -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 = [
|
||||||
|
|
41
pkgs/development/python-modules/ukkonen/default.nix
Normal file
41
pkgs/development/python-modules/ukkonen/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -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 { };
|
||||||
|
|
Loading…
Reference in a new issue