3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/python-slugify/default.nix

24 lines
715 B
Nix
Raw Normal View History

2017-05-03 05:17:48 +01:00
{ stdenv, fetchPypi, buildPythonPackage, unidecode, regex, isPy3k }:
buildPythonPackage rec {
pname = "python-slugify";
2018-10-06 11:56:20 +01:00
version = "1.2.6";
2017-05-03 05:17:48 +01:00
src = fetchPypi {
inherit pname version;
2018-10-06 11:56:20 +01:00
sha256 = "7723daf30996db26573176bddcdf5fcb98f66dc70df05c9cb29f2c79b8193245";
2017-05-03 05:17:48 +01:00
};
doCheck = !isPy3k;
# (only) on python3 unittest loader (loadTestsFromModule) fails
propagatedBuildInputs = [ unidecode regex ];
meta = with stdenv.lib; {
homepage = https://github.com/un33k/python-slugify;
description = "A Python Slugify application that handles Unicode";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ vrthra ];
};
}