From 4ed2dd919b316a75d2b2c5bbfa5b45e332384945 Mon Sep 17 00:00:00 2001 From: Christian Kampka Date: Fri, 30 Nov 2018 16:16:28 +0100 Subject: gandi-cli: 0.19 -> 1.3 --- pkgs/tools/networking/gandi-cli/default.nix | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'pkgs/tools') diff --git a/pkgs/tools/networking/gandi-cli/default.nix b/pkgs/tools/networking/gandi-cli/default.nix index be488e788b41..99db0ab25075 100644 --- a/pkgs/tools/networking/gandi-cli/default.nix +++ b/pkgs/tools/networking/gandi-cli/default.nix @@ -1,17 +1,16 @@ -{ stdenv, pythonPackages, fetchFromGitHub }: +{ stdenv, python3Packages, fetchFromGitHub }: -with pythonPackages; +with python3Packages; -buildPythonPackage rec { - namePrefix = ""; - name = "gandi-cli-${version}"; - version = "0.19"; +buildPythonApplication rec { + pname = "gandi-cli"; + version = "1.3"; src = fetchFromGitHub { - sha256 = "0xbf97p75zl6sjxqcgmaa4p5rax2h6ixn8srwdr4rsx2zz9dpwgp"; - rev = version; - repo = "gandi.cli"; owner = "Gandi"; + repo = "gandi.cli"; + rev = version; + sha256 = "07i1y88j5awsw7qadk7gnmax8mi7vgh1nflnc8j54z53fjyamlcs"; }; propagatedBuildInputs = [ click ipy pyyaml requests ]; @@ -22,6 +21,6 @@ buildPythonPackage rec { description = "Command-line interface to the public Gandi.net API"; homepage = http://cli.gandi.net/; license = licenses.gpl3Plus; + maintainers = with maintainers; [ ckampka ]; }; } - -- cgit 1.4.1