python39Packages.titlecase: update meta, add import check, cleanup tests

This commit is contained in:
Sandro Jäckel 2021-08-26 14:52:23 +02:00 committed by Jonathan Ringer
parent a24907728d
commit fd6a69535d

View File

@ -1,4 +1,4 @@
{ buildPythonPackage, lib, nose, fetchPypi, regex }: { buildPythonPackage, lib, fetchPypi, regex }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "titlecase"; pname = "titlecase";
@ -11,11 +11,15 @@ buildPythonPackage rec {
propagatedBuildInputs = [ regex ]; propagatedBuildInputs = [ regex ];
checkInputs = [ nose ]; # no tests run
doCheck = false;
meta = { pythonImportsCheck = [ "titlecase" ];
meta = with lib; {
homepage = "https://github.com/ppannuto/python-titlecase"; homepage = "https://github.com/ppannuto/python-titlecase";
description = "Python Port of John Gruber's titlecase.pl"; description = "Python Port of John Gruber's titlecase.pl";
license = lib.licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ ];
}; };
} }