evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / toml-adapt / default.nix
blob8d6184cbc57381f8c882804fec94071a7f031e25
2   lib,
3   buildPythonPackage,
4   click,
5   fetchFromGitHub,
6   poetry-core,
7   pytestCheckHook,
8   pythonOlder,
9   toml,
12 buildPythonPackage rec {
13   pname = "toml-adapt";
14   version = "0.3.3";
15   pyproject = true;
17   disabled = pythonOlder "3.6";
19   src = fetchFromGitHub {
20     owner = "firefly-cpp";
21     repo = "toml-adapt";
22     rev = "refs/tags/${version}";
23     hash = "sha256-KD5dTr/wxFbDg3AbfE0jUbgNjvxqDmbHwjY5Dmp6JFI=";
24   };
26   nativeBuildInputs = [ poetry-core ];
28   propagatedBuildInputs = [
29     click
30     toml
31   ];
33   nativeCheckInputs = [ pytestCheckHook ];
35   pythonImportsCheck = [ "toml_adapt" ];
37   meta = with lib; {
38     description = "Simple Command-line interface for manipulating toml files";
39     homepage = "https://github.com/firefly-cpp/toml-adapt";
40     changelog = "https://github.com/firefly-cpp/toml-adapt/releases/tag/${version}";
41     license = licenses.mit;
42     maintainers = with maintainers; [ firefly-cpp ];
43     mainProgram = "toml-adapt";
44   };