From 9cd19f1732acaf810a797498800a546055785fb3 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 17 Jan 2020 04:06:29 -0500 Subject: [PATCH] Add linode-cli package --- packages/linode-cli.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 packages/linode-cli.nix diff --git a/packages/linode-cli.nix b/packages/linode-cli.nix new file mode 100644 index 00000000..0e3113a7 --- /dev/null +++ b/packages/linode-cli.nix @@ -0,0 +1,23 @@ +{ lib, pkgs, python2 }: + +with python2.pkgs; +buildPythonPackage rec { + pname = "linode-cli"; + version = "2.12.0"; + format = "wheel"; + + src = fetchPypi { + inherit version format; + pname = "linode_cli"; + sha256 = "d5a91327c7ce41ac63fe4436d6a2469f50ddada217d45724f1de16dc8e1e8191"; + }; + + propagatedBuildInputs = [ terminaltables requests wheel setuptools enum34 colorclass pyaml ]; + + meta = with lib; { + homepage = "https://github.com/linode/linode-cli"; + description = "The Linode CLI"; + license = licenses.bsd3; + maintainers = [ maintainers.hlissner ]; + }; +}