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

26 lines
686 B
Nix
Raw Normal View History

{ stdenv, fetchPypi, buildPythonPackage, python, text-unidecode }:
2017-05-03 05:17:48 +01:00
buildPythonPackage rec {
pname = "python-slugify";
2019-10-16 10:43:14 +01:00
version = "3.0.6";
2017-05-03 05:17:48 +01:00
src = fetchPypi {
inherit pname version;
2019-10-16 10:43:14 +01:00
sha256 = "8653d589308c91c67fe5c97a2afda0cfac9492061e69c0db90d1aef68fcd2332";
2017-05-03 05:17:48 +01:00
};
propagatedBuildInputs = [ text-unidecode ];
checkPhase = ''
${python.interpreter} test.py
'';
2017-05-03 05:17:48 +01:00
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 ];
};
}