about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/titlecase/default.nix
blob: 7a250c680e3c0695b6351378e4f75fce0d157828 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ buildPythonPackage, lib, nose, fetchPypi, regex }:

buildPythonPackage rec {
  pname = "titlecase";
  version = "2.2.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "5d97ee51da37fb57c8753b79efa8edfdf3f10c0060de926efee970081e28d52f";
  };

  propagatedBuildInputs = [ regex ];

  checkInputs = [ nose ];

  meta = {
    homepage = "https://github.com/ppannuto/python-titlecase";
    description = "Python Port of John Gruber's titlecase.pl";
    license = lib.licenses.mit;
  };
}