summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/tinc_graphs/default.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2021-10-01 18:30:28 +0200
committermakefu <github@syntax-fehler.de>2021-10-01 18:30:28 +0200
commit0b1cd673842a37546818011d91258085f4b4c223 (patch)
tree64e0c4c59c4c0935b353e27426cce4675a3033bf /krebs/5pkgs/simple/tinc_graphs/default.nix
parent4d28255e28e5bfe6af25fb252a0bba9342730609 (diff)
pkgs.tinc_graphs: 0.3.11 -> 0.4.0
Diffstat (limited to 'krebs/5pkgs/simple/tinc_graphs/default.nix')
-rw-r--r--krebs/5pkgs/simple/tinc_graphs/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/krebs/5pkgs/simple/tinc_graphs/default.nix b/krebs/5pkgs/simple/tinc_graphs/default.nix
index d281c9b50..953804dd0 100644
--- a/krebs/5pkgs/simple/tinc_graphs/default.nix
+++ b/krebs/5pkgs/simple/tinc_graphs/default.nix
@@ -1,16 +1,18 @@
-{ fetchurl, lib, pkgs, python3Packages, stdenv }:
+{ fetchFromGitHub, lib, pkgs, python3Packages, stdenv }:
python3Packages.buildPythonPackage rec {
name = "tinc_graphs-${version}";
- version = "0.3.11";
+ version = "0.4.0";
propagatedBuildInputs = with pkgs;[
python3Packages.pygeoip
## ${geolite-legacy}/share/GeoIP/GeoIPCity.dat
];
- src = fetchurl {
- url = "mirror://pypi/t/tinc_graphs/${name}.tar.gz";
- sha256 = "0akvi2srwqny3cd4b9ghssq8wi4kcxd2khabnnvylzs1s9i28fpa";
+ src = fetchFromGitHub {
+ owner = "makefu";
+ repo = "tinc_graphs";
+ rev = version;
+ sha256 = "0dbnafzz65b1nbgvj7b6skyf4x3f9rrkizmdwpnfh4qgs9ch5xmz";
};
preFixup = with pkgs;''