depot/third_party/nixpkgs/pkgs/development/python-modules/stringcase/default.nix

27 lines
595 B
Nix
Raw Normal View History

{
buildPythonPackage,
fetchPypi,
lib,
}:
buildPythonPackage rec {
pname = "stringcase";
version = "1.2.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "023hv3gknblhf9lx5kmkcchzmbhkdhmsnknkv7lfy20rcs06k828";
};
# PyPi package does not include tests.
doCheck = false;
meta = with lib; {
homepage = "https://github.com/okunishinishi/python-stringcase";
description = "Convert string cases between camel case, pascal case, snake case etc";
license = licenses.mit;
maintainers = with maintainers; [ alunduil ];
};
}