blob: 699d370af757798234ea8fa1186364b76fcc88da (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ stdenv, fetchPypi, buildPythonPackage, python, text-unidecode }:
buildPythonPackage rec {
pname = "python-slugify";
version = "3.0.2";
src = fetchPypi {
inherit pname version;
sha256 = "57163ffb345c7e26063435a27add1feae67fa821f1ef4b2f292c25847575d758";
};
propagatedBuildInputs = [ text-unidecode ];
checkPhase = ''
${python.interpreter} test.py
'';
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 ];
};
}
|