1{ lib, fetchPypi, buildPythonPackage, python, text-unidecode }:
2
3buildPythonPackage rec {
4 pname = "python-slugify";
5 version = "4.0.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "69a517766e00c1268e5bbfc0d010a0a8508de0b18d30ad5a1ff357f8ae724270";
10 };
11
12 propagatedBuildInputs = [ text-unidecode ];
13
14 checkPhase = ''
15 ${python.interpreter} test.py
16 '';
17
18 meta = with lib; {
19 homepage = "https://github.com/un33k/python-slugify";
20 description = "A Python Slugify application that handles Unicode";
21 license = licenses.mit;
22 platforms = platforms.all;
23 maintainers = with maintainers; [ vrthra ];
24 };
25}