python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / networking / gandi-cli / default.nix
blobd7394ac94d88143e7b2e69a77070936f6f94a6a1
1 { lib
2 , buildPythonApplication
3 , click
4 , fetchFromGitHub
5 , ipy
6 , pyyaml
7 , requests
8 }:
10 buildPythonApplication rec {
11   pname = "gandi-cli";
12   version = "1.6";
14   src = fetchFromGitHub {
15     owner = "Gandi";
16     repo = "gandi.cli";
17     rev = version;
18     sha256 = "sha256-KLeEbbzgqpmBjeTc5RYsFScym8xtMqVjU+H0lyDM0+o=";
19   };
21   propagatedBuildInputs = [
22     click
23     ipy
24     pyyaml
25     requests
26   ];
28   # Tests try to contact the actual remote API
29   doCheck = false;
30   pythonImportsCheck = [ "gandi" ];
32   meta = with lib; {
33     description = "Command-line interface to the public Gandi.net API";
34     homepage = "https://cli.gandi.net/";
35     license = licenses.gpl3Plus;
36     maintainers = with maintainers; [ ];
37   };