Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 29 lines 579 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, nose 5, six 6, unittest2 7, unidecode 8}: 9 10buildPythonPackage rec { 11 pname = "unicode-slugify"; 12 version = "0.1.3"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "0l7nphfdq9rgiczbl8n3mra9gx7pxap0xz540pkyz034zbz3mkrl"; 17 }; 18 19 propagatedBuildInputs = [ six unidecode ]; 20 21 checkInputs = [ nose unittest2 ]; 22 23 meta = with stdenv.lib; { 24 description = "Generates unicode slugs"; 25 homepage = "https://pypi.org/project/unicode-slugify/"; 26 license = licenses.bsd3; 27 maintainers = with maintainers; [ mmai ]; 28 }; 29}