about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/unicode-slugify/default.nix
blob: 111ff6278eab3301544f60e012e46573e75cc72e (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
{ stdenv
, buildPythonPackage
, fetchPypi
, nose
, six
, unittest2
, unidecode
}:

buildPythonPackage rec {
  pname = "unicode-slugify";
  version = "0.1.3";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0l7nphfdq9rgiczbl8n3mra9gx7pxap0xz540pkyz034zbz3mkrl";
  };

  propagatedBuildInputs = [ six unidecode ];

  checkInputs = [ nose unittest2 ];

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