about summary refs log tree commit diff
path: root/pkgs/development/python-modules/unicode-slugify/default.nix
blob: e967e187d9f1d34c0484be9ee2bca8b780f2bade (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ lib
, buildPythonPackage
, fetchPypi
, nose
, six
, unidecode
, unittestCheckHook
}:

buildPythonPackage rec {
  pname = "unicode-slugify";
  version = "0.1.5";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "25f424258317e4cb41093e2953374b3af1f23097297664731cdb3ae46f6bd6c3";
  };

  propagatedBuildInputs = [ six unidecode ];

  nativeCheckInputs = [
    nose
    unittestCheckHook
  ];

  meta = with lib; {
    description = "Generates unicode slugs";
    homepage = "https://pypi.org/project/unicode-slugify/";
    license = licenses.bsd3;
    maintainers = with maintainers; [ mmai ];
  };
}