mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
39 lines
744 B
Nix
39 lines
744 B
Nix
{ lib
|
|
, buildPythonApplication
|
|
, click
|
|
, fetchFromGitHub
|
|
, ipy
|
|
, pyyaml
|
|
, requests
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "gandi-cli";
|
|
version = "1.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Gandi";
|
|
repo = "gandi.cli";
|
|
rev = version;
|
|
sha256 = "sha256-KLeEbbzgqpmBjeTc5RYsFScym8xtMqVjU+H0lyDM0+o=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
click
|
|
ipy
|
|
pyyaml
|
|
requests
|
|
];
|
|
|
|
# Tests try to contact the actual remote API
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "gandi" ];
|
|
|
|
meta = with lib; {
|
|
description = "Command-line interface to the public Gandi.net API";
|
|
mainProgram = "gandi";
|
|
homepage = "https://cli.gandi.net/";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|