mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
bf995e3641
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
34 lines
748 B
Nix
34 lines
748 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
fetchFromGitHub,
|
|
}:
|
|
let
|
|
pname = "stemming";
|
|
version = "1.0.1";
|
|
in
|
|
buildPythonPackage {
|
|
inherit version pname;
|
|
format = "setuptools";
|
|
|
|
# Pypi source package doesn't contain tests
|
|
src = fetchFromGitHub {
|
|
owner = "nmstoker";
|
|
repo = pname;
|
|
rev = "477d0e354e79843f5ec241ba3603bcb5b843c3c4";
|
|
hash = "sha256-wnmBCbxnCZ9mN1J7sLcN7OynMcvqgAnhEgpAwW2/xz4=";
|
|
};
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
pythonImportsCheck = [ "stemming" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python implementations of various stemming algorithms";
|
|
homepage = "https://github.com/nmstoker/stemming";
|
|
license = licenses.unlicense;
|
|
maintainers = with maintainers; [ happysalada ];
|
|
};
|
|
}
|