mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
26 lines
589 B
Nix
26 lines
589 B
Nix
{ 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; [ ];
|
|
};
|
|
}
|