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";
|
2020-08-16 19:31:17 +02:00
|
|
|
version = "1.1.1";
|
2017-11-08 21:14:23 -05:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 19:31:17 +02:00
|
|
|
sha256 = "16e279edf085293bc9c44a68ce959c7d6cd5c653e6b5669a3a3640015cb63eb6";
|
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;
|
|
|
|
};
|
|
|
|
}
|