nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5}:
6let
7 pname = "stemming";
8 version = "1.0.1";
9in
10buildPythonPackage {
11 inherit version pname;
12 format = "setuptools";
13
14 # Pypi source package doesn't contain tests
15 src = fetchFromGitHub {
16 owner = "nmstoker";
17 repo = "stemming";
18 rev = "477d0e354e79843f5ec241ba3603bcb5b843c3c4";
19 hash = "sha256-wnmBCbxnCZ9mN1J7sLcN7OynMcvqgAnhEgpAwW2/xz4=";
20 };
21
22 pythonImportsCheck = [ "stemming" ];
23
24 meta = {
25 description = "Python implementations of various stemming algorithms";
26 homepage = "https://github.com/nmstoker/stemming";
27 license = lib.licenses.unlicense;
28 maintainers = with lib.maintainers; [ happysalada ];
29 };
30}