2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2019-09-07 12:50:11 +01:00
|
|
|
, 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 ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-09-07 12:50:11 +01:00
|
|
|
description = "Generates unicode slugs";
|
|
|
|
homepage = "https://pypi.org/project/unicode-slugify/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ mmai ];
|
|
|
|
};
|
|
|
|
}
|