summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-09-01 12:53:32 +0200
committermakefu <github@syntax-fehler.de>2015-09-01 13:09:54 +0200
commit951b00742f9e3aeff807612fdfd6dd2fbd5f0976 (patch)
tree3edfbe06245b911b0309d4990915d6892204f575
parent444dfa388b62a5123631df6597de469077b98304 (diff)
add krebszones
-rw-r--r--krebs/5pkgs/default.nix1
-rw-r--r--krebs/5pkgs/krebszones/default.nix20
2 files changed, 21 insertions, 0 deletions
diff --git a/krebs/5pkgs/default.nix b/krebs/5pkgs/default.nix
index b42101820..39d3d69ce 100644
--- a/krebs/5pkgs/default.nix
+++ b/krebs/5pkgs/default.nix
@@ -14,6 +14,7 @@ rec {
github-hosts-sync = callPackage ./github-hosts-sync {};
github-known_hosts = callPackage ./github-known_hosts {};
hashPassword = callPackage ./hashPassword {};
+ krebszones = callPackage ./krebszones {};
lentil = callPackage ./lentil {};
much = callPackage ./much {};
nq = callPackage ./nq {};
diff --git a/krebs/5pkgs/krebszones/default.nix b/krebs/5pkgs/krebszones/default.nix
new file mode 100644
index 000000000..83a06f768
--- /dev/null
+++ b/krebs/5pkgs/krebszones/default.nix
@@ -0,0 +1,20 @@
+{ lib, pkgs,python3Packages,fetchurl, ... }:
+
+python3Packages.buildPythonPackage rec {
+ name = "krebs-zones";
+ version = "0.4.2";
+ propagatedBuildInputs = with pkgs;[
+ python3Packages.d2to1 # for setup to work
+ python3Packages.ovh
+ python3Packages.docopt
+ ];
+ src = fetchurl {
+ url = "https://pypi.python.org/packages/source/k/krebszones/krebszones-${version}.tar.gz";
+ sha256 = "0mmz2camqcmv8pppwbzd2v986v07620dg6p5d9v094v8ij1bdlfk";
+ };
+ meta = {
+ homepage = http://krebsco.de/;
+ description = "OVH Zone Upload";
+ license = lib.licenses.wtfpl;
+ };
+}