stockholm/krebs/5pkgs/krebszones/default.nix

26 lines
801 B
Nix
Raw Normal View History

2015-09-01 10:53:32 +00:00
{ lib, pkgs,python3Packages,fetchurl, ... }:
2016-01-16 23:30:00 +00: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 10:53:32 +00:00
python3Packages.buildPythonPackage rec {
2015-09-01 13:16:46 +00:00
name = "krebszones-${version}";
2015-10-17 16:50:57 +00:00
version = "0.4.4";
2015-09-01 13:54:12 +00:00
propagatedBuildInputs = with pkgs.python3Packages;[
d2to1 # for setup to work
ovh
docopt
2015-09-01 10:53:32 +00:00
];
src = fetchurl {
url = "https://pypi.python.org/packages/source/k/krebszones/krebszones-${version}.tar.gz";
2015-10-17 16:50:57 +00:00
sha256 = "1bzfc2b9468769j1yj93j12zdlccqbjiqfhql2larximh491sg4d";
2015-09-01 10:53:32 +00:00
};
meta = {
homepage = http://krebsco.de/;
description = "OVH Zone Upload";
license = lib.licenses.wtfpl;
};
}