diff options
author | makefu <github@syntax-fehler.de> | 2015-10-03 19:57:38 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-10-04 13:42:29 +0200 |
commit | e6b362ecaa6f423132579bbd737c99d5445734c0 (patch) | |
tree | 77e10200fe148c4993e8c3faa5a60f46c2652934 /5pkgs/tinc_graphs/default.nix | |
parent | 15dd60070d57373d385d89ca76bf15b8758d1d7f (diff) |
add alsa-tools, working tinc_graphs
Diffstat (limited to '5pkgs/tinc_graphs/default.nix')
-rw-r--r-- | 5pkgs/tinc_graphs/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/5pkgs/tinc_graphs/default.nix b/5pkgs/tinc_graphs/default.nix new file mode 100644 index 000000000..c35a8b02e --- /dev/null +++ b/5pkgs/tinc_graphs/default.nix @@ -0,0 +1,23 @@ +{stdenv,fetchurl,pkgs,python3Packages, ... }: + +python3Packages.buildPythonPackage rec { + name = "tinc_graphs-${version}"; + version = "0.2.8"; + propagatedBuildInputs = with pkgs;[ + python3Packages.pygeoip + ## ${geolite-legacy}/share/GeoIP/GeoIPCity.dat + ]; + src = fetchurl { + url = "https://pypi.python.org/packages/source/t/tinc_graphs/tinc_graphs-${version}.tar.gz"; + sha256 = "1rvy07ybjpqlsf9qizdp0zyq4ibd6w74k4glbbkw0x7j3j2skzdk"; + }; + preFixup = with pkgs;'' + wrapProgram $out/bin/build-graphs --prefix PATH : "${imagemagick}/bin:${graphviz}/bin" + ''; + meta = { + homepage = http://krebsco.de/; + description = "Create Graphs from Tinc Stats"; + license = stdenv.lib.licenses.wtfpl; + }; +} + |