pythonPackages.unicode-slugify: init at 0.1.3

This commit is contained in:
Henri Bourcereau
2019-09-07 13:50:11 +02:00
committed by worldofpeace
parent 316402e4e6
commit 5417887d7a
2 changed files with 31 additions and 0 deletions

View File

@@ -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 ];
};
}