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