1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 nose,
6 six,
7 unidecode,
8 unittestCheckHook,
9}:
10
11buildPythonPackage rec {
12 pname = "unicode-slugify";
13 version = "0.1.5";
14 format = "setuptools";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "25f424258317e4cb41093e2953374b3af1f23097297664731cdb3ae46f6bd6c3";
19 };
20
21 propagatedBuildInputs = [
22 six
23 unidecode
24 ];
25
26 nativeCheckInputs = [
27 nose
28 unittestCheckHook
29 ];
30
31 meta = with lib; {
32 description = "Generates unicode slugs";
33 homepage = "https://pypi.org/project/unicode-slugify/";
34 license = licenses.bsd3;
35 maintainers = with maintainers; [ mmai ];
36 };
37}