diff options
author | makefu <root@pigstarter.de> | 2015-09-09 14:41:38 +0200 |
---|---|---|
committer | makefu <root@pigstarter.de> | 2015-09-09 14:41:38 +0200 |
commit | 05bf2c8be209e619f8c9e727fd1353198b042642 (patch) | |
tree | 4f7a9439137fe78f979b235666a3533f9e249eca /retiolum/scripts/adv_graphgen/tinc_graphs.nix | |
parent | e9e7d6baf986488c43d418887f6cf95f5d896189 (diff) |
begin packaging of tinc_stats
Diffstat (limited to 'retiolum/scripts/adv_graphgen/tinc_graphs.nix')
-rw-r--r-- | retiolum/scripts/adv_graphgen/tinc_graphs.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/retiolum/scripts/adv_graphgen/tinc_graphs.nix b/retiolum/scripts/adv_graphgen/tinc_graphs.nix new file mode 100644 index 00000000..b45fde13 --- /dev/null +++ b/retiolum/scripts/adv_graphgen/tinc_graphs.nix @@ -0,0 +1,25 @@ +with import <nixpkgs> {}; +# nix-build Reaktor.nix +# result/bin/reaktor +## or in your env +# nix-env -i -f tinc_graphs.nix + +buildPythonPackage rec { + name = "tinc_graphs-${version}"; + version = "0.2.6"; + propagatedBuildInputs = with pkgs;[ + pythonPackages.docopt + graphviz + imagemagick + pythonPackages.pygeoip + ]; + src = fetchurl { + url = ""; + sha256 = "1dksw1s1n2hxvnga6pygkr174dywncr0wiggkrkn1srbn2amh1c2"; + }; + meta = { + homepage = http://krebsco.de/; + description = "Create Graphs from Tinc Stats"; + license = stdenv.lib.licenses.wtfpl; + }; +} |