evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / pyhumps / default.nix
blobe5f36fe22d9d7a7a2c449cbed60f8b47b734382e
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   poetry-core,
6   pytestCheckHook,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "pyhumps";
12   version = "3.8.0";
13   format = "pyproject";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "nficano";
19     repo = "humps";
20     rev = "v${version}";
21     hash = "sha256-ElL/LY2V2Z3efdV5FnDy9dSoBltULrzxsjaOx+7W9Oo=";
22   };
24   nativeBuildInputs = [ poetry-core ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "humps" ];
30   meta = with lib; {
31     description = "Module to convert strings (and dictionary keys) between snake case, camel case and pascal case";
32     homepage = "https://github.com/nficano/humps";
33     license = with licenses; [ unlicense ];
34     maintainers = with maintainers; [ fab ];
35   };