diff options
author | Henri Bourcereau <henri.bourcereau@gmail.com> | 2019-09-07 13:50:11 +0200 |
---|---|---|
committer | worldofpeace <worldofpeace@protonmail.ch> | 2019-10-16 17:07:09 -0400 |
commit | 5417887d7a04e853d3f17e86d05ba44ca6a05f3a (patch) | |
tree | 50ecd19751855a42f804c2a6e115d6cb0f62f0dc /pkgs/development/python-modules/unicode-slugify/default.nix | |
parent | 316402e4e64a2e793d3a4fc08a207464c0126024 (diff) |
pythonPackages.unicode-slugify: init at 0.1.3
Diffstat (limited to 'pkgs/development/python-modules/unicode-slugify/default.nix')
-rw-r--r-- | pkgs/development/python-modules/unicode-slugify/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/unicode-slugify/default.nix b/pkgs/development/python-modules/unicode-slugify/default.nix new file mode 100644 index 0000000000000..111ff6278eab3 --- /dev/null +++ b/pkgs/development/python-modules/unicode-slugify/default.nix @@ -0,0 +1,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 ]; + }; +} |