From 219fab970c7fe455d3dd9bc48e909d96a234046b Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 10 Sep 2015 15:48:38 +0200 Subject: adv_graphgen: finish packaging --- retiolum/scripts/adv_graphgen/tinc_graphs.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'retiolum/scripts/adv_graphgen/tinc_graphs.nix') diff --git a/retiolum/scripts/adv_graphgen/tinc_graphs.nix b/retiolum/scripts/adv_graphgen/tinc_graphs.nix index b45fde13..662e81ac 100644 --- a/retiolum/scripts/adv_graphgen/tinc_graphs.nix +++ b/retiolum/scripts/adv_graphgen/tinc_graphs.nix @@ -4,19 +4,23 @@ with import {}; ## or in your env # nix-env -i -f tinc_graphs.nix -buildPythonPackage rec { +python3Packages.buildPythonPackage rec { name = "tinc_graphs-${version}"; version = "0.2.6"; propagatedBuildInputs = with pkgs;[ - pythonPackages.docopt graphviz imagemagick - pythonPackages.pygeoip + + # optional if you want geolocation: + python3Packages.pygeoip + # geolite-legacy for the db: + ## ${geolite-legacy}/share/GeoIP/GeoIPCity.dat ]; - src = fetchurl { - url = ""; - sha256 = "1dksw1s1n2hxvnga6pygkr174dywncr0wiggkrkn1srbn2amh1c2"; - }; + #src = fetchurl { + #url = ""; + #sha256 = "1dksw1s1n2hxvnga6pygkr174dywncr0wiggkrkn1srbn2amh1c2"; + #}; + src = ./.; meta = { homepage = http://krebsco.de/; description = "Create Graphs from Tinc Stats"; -- cgit v1.2.3