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

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

  src = fetchPypi {
    inherit pname version;
    sha256 = "9a1595ed9b88f3ce4362a7602ee63cf074e10ac80d1256b32ea1ec5ffa265fa0";
  };

  propagatedBuildInputs = [ regex ];

  # no tests run
  doCheck = false;

  pythonImportsCheck = [ "titlecase" ];

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