diff options
author | makefu <github@syntax-fehler.de> | 2015-11-23 07:53:42 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-11-23 07:53:42 +0100 |
commit | f12ded12c688e6641f81caae42010affb85a67f6 (patch) | |
tree | c1f18c76faf1ee6bbb458d65c98ba01d8439bddd | |
parent | c8a920c6d9ed96172b15884b207d978a64b4c002 (diff) |
k 5: cacpy -> cacpanel
-rw-r--r-- | krebs/5pkgs/cacpanel/default.nix | 18 | ||||
-rw-r--r-- | krebs/5pkgs/cacpy/default.nix | 20 |
2 files changed, 18 insertions, 20 deletions
diff --git a/krebs/5pkgs/cacpanel/default.nix b/krebs/5pkgs/cacpanel/default.nix new file mode 100644 index 000000000..55d1e2ca8 --- /dev/null +++ b/krebs/5pkgs/cacpanel/default.nix @@ -0,0 +1,18 @@ +{pkgs, python3Packages, ...}: + +python3Packages.buildPythonPackage rec { + name = "cacpanel-${version}"; + version = "0.2.0"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/c/cacpanel/cacpanel-${version}.tar.gz"; + sha256 = "1rcylbiy6488lpw4s4bildb48fljdq9kn12ksjrl81shmhhq9fcj"; + }; + + propagatedBuildInputs = with python3Packages; [ + docopt + requests2 + beautifulsoup4 + ]; +} + diff --git a/krebs/5pkgs/cacpy/default.nix b/krebs/5pkgs/cacpy/default.nix deleted file mode 100644 index a367aefb1..000000000 --- a/krebs/5pkgs/cacpy/default.nix +++ /dev/null @@ -1,20 +0,0 @@ -{pkgs, python3Packages, ...}: - -python3Packages.buildPythonPackage rec { - name = "cacpy-${version}"; - version = "0.6.5"; - - src = pkgs.fetchFromGitHub { - owner = "makefu"; - repo = "python-cloudatcost"; - rev = "2bb4f940d4762938c06da380cd14767eafb171c9"; - sha256 = "1zl73q5iap76wfwjzvc25yqdrlmy9vqd7g4k31g5ig2ljy6sgwgc"; - }; - - propagatedBuildInputs = with python3Packages; [ - docopt - requests2 - beautifulsoup4 - ]; -} - |