From 6bb07ecbbc969d9afd9dccdd23c8ff4eaeba560c Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Wed, 19 Sep 2018 13:16:17 -0500 Subject: [PATCH] i7z: move to maintained fork (FreeBSD folks), 0.27.2 -> 0.27.3 --- pkgs/os-specific/linux/i7z/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/i7z/default.nix b/pkgs/os-specific/linux/i7z/default.nix index 48d28036aa4f..3bf9fbd74d38 100644 --- a/pkgs/os-specific/linux/i7z/default.nix +++ b/pkgs/os-specific/linux/i7z/default.nix @@ -1,12 +1,15 @@ -{ stdenv, lib, fetchurl, ncurses +{ stdenv, lib, fetchFromGitHub, ncurses , withGui ? false, qt4 ? null }: stdenv.mkDerivation rec { - name = "i7z-0.27.2"; + name = "i7z-${version}"; + version = "0.27.3"; - src = fetchurl { - url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/i7z/${name}.tar.gz"; - sha256 = "1wa7ix6m75wl3k2n88sz0x8cckvlzqklja2gvzqfw5rcfdjjvxx7"; + src = fetchFromGitHub { + owner = "DimitryAndric"; + repo = "i7z"; + rev = "v${version}"; + sha256 = "0l8wz0ffb27nkwchc606js652spk8masy3kjmzh7ygipwsary5ds"; }; buildInputs = [ ncurses ] ++ lib.optional withGui qt4;