From 0b1cd673842a37546818011d91258085f4b4c223 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 1 Oct 2021 18:30:28 +0200 Subject: pkgs.tinc_graphs: 0.3.11 -> 0.4.0 --- krebs/5pkgs/simple/tinc_graphs/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'krebs/5pkgs/simple/tinc_graphs/default.nix') 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;'' -- cgit v1.2.3