58849dfc4f
GitOrigin-RevId: 21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28
25 lines
589 B
Nix
25 lines
589 B
Nix
{ buildPythonPackage, lib, fetchPypi, regex }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "titlecase";
|
|
version = "2.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "9a1595ed9b88f3ce4362a7602ee63cf074e10ac80d1256b32ea1ec5ffa265fa0";
|
|
};
|
|
|
|
propagatedBuildInputs = [ regex ];
|
|
|
|
# no tests run
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "titlecase" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/ppannuto/python-titlecase";
|
|
description = "Python Port of John Gruber's titlecase.pl";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|