ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / toml-adapt / default.nix
blob51497c3fbc0d3d944161b00a4e584742d93047ba
1 { lib
2 , buildPythonPackage
3 , click
4 , fetchFromGitHub
5 , poetry-core
6 , pytestCheckHook
7 , pythonOlder
8 , toml
9 }:
11 buildPythonPackage rec {
12   pname = "toml-adapt";
13   version = "0.2.10";
14   format = "pyproject";
16   disabled = pythonOlder "3.6";
18   src = fetchFromGitHub {
19     owner = "firefly-cpp";
20     repo = pname;
21     rev = version;
22     sha256 = "sha256-eVRiMwdYDS2YdQsINy8lBzV8lhcKgq+Vwlc02C5ar0Q=";
23   };
25   nativeBuildInputs = [
26     poetry-core
27   ];
29   propagatedBuildInputs = [
30     click
31     toml
32   ];
34   checkInputs = [
35     pytestCheckHook
36   ];
38   pythonImportsCheck = [
39     "toml_adapt"
40   ];
42   meta = with lib; {
43     description = "A simple Command-line interface for manipulating toml files";
44     homepage = "https://github.com/firefly-cpp/toml-adapt";
45     license = licenses.mit;
46     maintainers = with maintainers; [ firefly-cpp ];
47   };