2020-10-14 11:52:10 +02:00
|
|
|
{ buildPythonPackage, lib, nose, fetchPypi, regex }:
|
2017-11-08 21:14:23 -05:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "titlecase";
|
2021-03-24 10:28:30 +01:00
|
|
|
version = "2.0.0";
|
2017-11-08 21:14:23 -05:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 10:28:30 +01:00
|
|
|
sha256 = "d6b24c4bfce6b05ee55da48901a1aa39eac20f223160b7872dcf1b8182214bec";
|
2017-11-08 21:14:23 -05:00
|
|
|
};
|
|
|
|
|
2020-10-14 11:52:10 +02:00
|
|
|
propagatedBuildInputs = [ regex ];
|
|
|
|
|
2017-11-08 21:14:23 -05:00
|
|
|
checkInputs = [ nose ];
|
|
|
|
|
|
|
|
meta = {
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "https://github.com/ppannuto/python-titlecase";
|
2017-11-08 21:14:23 -05:00
|
|
|
description = "Python Port of John Gruber's titlecase.pl";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|