2020-10-16 20:44:37 +00:00
|
|
|
{ buildPythonPackage, lib, nose, fetchPypi, regex }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "titlecase";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "2.2.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "5d97ee51da37fb57c8753b79efa8edfdf3f10c0060de926efee970081e28d52f";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-10-16 20:44:37 +00:00
|
|
|
propagatedBuildInputs = [ regex ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
checkInputs = [ nose ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/ppannuto/python-titlecase";
|
|
|
|
description = "Python Port of John Gruber's titlecase.pl";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|