summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/cacpy/default.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-11-22 13:19:36 +0100
committermakefu <github@syntax-fehler.de>2015-11-22 13:22:30 +0100
commite28930340b9d84710cc579897aabffe6a1931ca8 (patch)
tree0ed9e9ef71cb02a2b42d5ad6d4e6072f3d8b1adb /krebs/5pkgs/cacpy/default.nix
parent8bff399f0de324490f917fa82e3ee99572069152 (diff)
k 5 cacpy: init at 0.6.0
Diffstat (limited to 'krebs/5pkgs/cacpy/default.nix')
-rw-r--r--krebs/5pkgs/cacpy/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/krebs/5pkgs/cacpy/default.nix b/krebs/5pkgs/cacpy/default.nix
new file mode 100644
index 000000000..a367aefb1
--- /dev/null
+++ b/krebs/5pkgs/cacpy/default.nix
@@ -0,0 +1,20 @@
+{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
+ ];
+}
+