From 951b00742f9e3aeff807612fdfd6dd2fbd5f0976 Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 1 Sep 2015 12:53:32 +0200 Subject: add krebszones --- krebs/5pkgs/default.nix | 1 + krebs/5pkgs/krebszones/default.nix | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 krebs/5pkgs/krebszones/default.nix (limited to 'krebs/5pkgs') 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; + }; +} -- cgit v1.2.3