1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
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-04-04 19:16:07 +01:00
version = "1.2.5";
2017-05-03 05:17:48 +01:00
src = fetchPypi {
inherit pname version;
2018-04-04 19:16:07 +01:00
sha256 = "5dbb360b882b2dabe0471a1a92f604504d83c2a73c71f2098d004ab62e695534";
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 ];
};
}