Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, fetchPypi, buildPythonPackage, unidecode, regex, isPy3k }: 2 3buildPythonPackage rec { 4 pname = "python-slugify"; 5 version = "2.0.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "d3e034397236020498e677a35e5c05dcc6ba1624b608b9ef7e5fe3090ccbd5a8"; 10 }; 11 doCheck = !isPy3k; 12 # (only) on python3 unittest loader (loadTestsFromModule) fails 13 14 propagatedBuildInputs = [ unidecode regex ]; 15 16 meta = with stdenv.lib; { 17 homepage = https://github.com/un33k/python-slugify; 18 description = "A Python Slugify application that handles Unicode"; 19 license = licenses.mit; 20 platforms = platforms.all; 21 maintainers = with maintainers; [ vrthra ]; 22 }; 23}