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-04-26 19:14:03 +00:00
|
|
|
version = "2.0.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-26 19:14:03 +00:00
|
|
|
sha256 = "d6b24c4bfce6b05ee55da48901a1aa39eac20f223160b7872dcf1b8182214bec";
|
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;
|
|
|
|
};
|
|
|
|
}
|