mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-18 11:08:37 +03:00
python39Packages.titlecase: update meta, add import check, cleanup tests
This commit is contained in:
parent
a24907728d
commit
fd6a69535d
@ -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; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user