My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/python-slugify/default.nix

45 lines
786 B

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
, text-unidecode
, unidecode
}:
buildPythonPackage rec {
pname = "python-slugify";
version = "6.1.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-AAAzl/TjFBTpIs5WezpNoozxQ2pT0zLJrutRx9jEaf0=";
};
propagatedBuildInputs = [
text-unidecode
unidecode
];
checkInputs = [
pytestCheckHook
];
pytestFlagsArray = [
"test.py"
];
pythonImportsCheck = [
"slugify"
];
meta = with lib; {
description = "Python Slugify application that handles Unicode";
homepage = "https://github.com/un33k/python-slugify";
license = licenses.mit;
maintainers = with maintainers; [ vrthra ];
};
}