linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / python-slugify / default.nix
blobfd488f4be9d35026e5a4fcfbd71c1ec2cb58fb0d
1 { lib, fetchPypi, buildPythonPackage, python, text-unidecode }:
3 buildPythonPackage rec {
4     pname = "python-slugify";
5     version = "4.0.1";
7     src = fetchPypi {
8       inherit pname version;
9       sha256 = "69a517766e00c1268e5bbfc0d010a0a8508de0b18d30ad5a1ff357f8ae724270";
10     };
12     propagatedBuildInputs = [ text-unidecode ];
14     checkPhase = ''
15       ${python.interpreter} test.py
16     '';
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     };