diff options
author | Felix Buehler <account@buehler.rocks> | 2021-09-19 18:56:10 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-09-19 18:56:10 +0200 |
commit | f4431f535c680da3e19d7ab37fe15f27e2e39ff4 (patch) | |
tree | 1a090c7ed878f4d2a278b15f9049d232b2db42c9 /pkgs/tools/misc/ccze | |
parent | b6d6778447d9bf240f1954d2b3ca3de70e067ea8 (diff) |
ccze: switch to fetchFromGitHub
Diffstat (limited to 'pkgs/tools/misc/ccze')
-rw-r--r-- | pkgs/tools/misc/ccze/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/tools/misc/ccze/default.nix b/pkgs/tools/misc/ccze/default.nix index 348cbb1f529c8..874653c7f6c35 100644 --- a/pkgs/tools/misc/ccze/default.nix +++ b/pkgs/tools/misc/ccze/default.nix @@ -1,12 +1,14 @@ -{ lib, stdenv, fetchurl, autoconf, ncurses, pcre }: +{ lib, stdenv, fetchFromGitHub, autoconf, ncurses, pcre }: stdenv.mkDerivation rec { pname = "ccze"; version = "0.2.1-2"; - src = fetchurl { - url = "https://github.com/madhouse/ccze/archive/ccze-${version}.tar.gz"; - sha256 = "1amavfvyls4v0gnikk43n2rpciaspxifgrmvi99qj6imv3mfg66n"; + src = fetchFromGitHub { + owner = "madhouse"; + repo = "ccze"; + rev = "ccze-${version}"; + hash = "sha256-LVwmbrq78mZcAEuAqjXTqLE5we83H9mcMPtxQx2Tn/c="; }; buildInputs = [ autoconf ncurses pcre ]; |