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