stockholm/krebs/5pkgs/simple/ovh-zone/default.nix

26 lines
799 B
Nix
Raw Normal View History

2015-09-01 12:53:32 +02:00
{ lib, pkgs,python3Packages,fetchurl, ... }:
2016-01-17 00:30:00 +01:00
# TODO: Prepare a diff of future and current
## ovh-zone export krebsco.de --config ~/secrets/krebs/cfg.json |sed 's/[ ]\+/ /g' | sort current
## sed 's/[ ]\+/ /g'/etc/zones/krebsco.de | sort > future
## diff future.sorted current.sorted
2015-09-01 12:53:32 +02:00
python3Packages.buildPythonPackage rec {
2017-06-18 14:00:05 +02:00
name = "ovh-zone-${version}";
2015-10-17 18:50:57 +02:00
version = "0.4.4";
2015-09-01 15:54:12 +02:00
propagatedBuildInputs = with pkgs.python3Packages;[
d2to1 # for setup to work
ovh
docopt
2015-09-01 12:53:32 +02:00
];
src = fetchurl {
url = "https://pypi.python.org/packages/source/k/krebszones/krebszones-${version}.tar.gz";
2015-10-17 18:50:57 +02:00
sha256 = "1bzfc2b9468769j1yj93j12zdlccqbjiqfhql2larximh491sg4d";
2015-09-01 12:53:32 +02:00
};
meta = {
homepage = http://krebsco.de/;
description = "OVH Zone Upload";
license = lib.licenses.wtfpl;
};
}