mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
python3Packages.ukkonen: init at 1.0.1
This commit is contained in:
parent
51712daede
commit
e21280234b
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 ];
|
||||
};
|
||||
}
|
@ -9582,6 +9582,8 @@ in {
|
||||
|
||||
ujson = callPackage ../development/python-modules/ujson { };
|
||||
|
||||
ukkonen = callPackage ../development/python-modules/ukkonen { };
|
||||
|
||||
ukpostcodeparser = callPackage ../development/python-modules/ukpostcodeparser { };
|
||||
|
||||
umalqurra = callPackage ../development/python-modules/umalqurra { };
|
||||
|
Loading…
Reference in New Issue
Block a user