diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/stringcase/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/stringcase/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/stringcase/default.nix b/nixpkgs/pkgs/development/python-modules/stringcase/default.nix new file mode 100644 index 000000000000..79f05f9b72d6 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/stringcase/default.nix @@ -0,0 +1,22 @@ +{ buildPythonPackage, fetchPypi, stdenv +}: + +buildPythonPackage rec { + pname = "stringcase"; + version = "1.2.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "023hv3gknblhf9lx5kmkcchzmbhkdhmsnknkv7lfy20rcs06k828"; + }; + + # PyPi package does not include tests. + doCheck = false; + + meta = with stdenv.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 ]; + }; +} |