12 buildPythonPackage rec {
13 pname = "python-slugify";
17 disabled = pythonOlder "3.7";
19 src = fetchFromGitHub {
21 repo = "python-slugify";
22 rev = "refs/tags/v${version}";
23 hash = "sha256-zReUMIkItnDot3XyYCoPUNHrrAllbClWFYcxdTy3A30=";
26 nativeBuildInputs = [ setuptools ];
28 propagatedBuildInputs = [ text-unidecode ];
30 optional-dependencies = {
31 unidecode = [ unidecode ];
34 nativeCheckInputs = [ pytestCheckHook ];
36 pytestFlagsArray = [ "test.py" ];
38 pythonImportsCheck = [ "slugify" ];
41 description = "Python Slugify application that handles Unicode";
42 mainProgram = "slugify";
43 homepage = "https://github.com/un33k/python-slugify";
44 changelog = "https://github.com/un33k/python-slugify/blob/v${version}/CHANGELOG.md";
45 license = licenses.mit;