munin: fetchurl -> fetchFromGithub

This commit is contained in:
Jean-Pierre PRUNARET 2017-01-24 14:37:56 +01:00
parent de9a4f5fb4
commit 319879354b

@ -1,4 +1,4 @@
{ stdenv, fetchurl, makeWrapper, which, coreutils, rrdtool, perl, perlPackages
{ stdenv, fetchFromGitHub, makeWrapper, which, coreutils, rrdtool, perl, perlPackages
, python, ruby, jre, nettools
}:
@ -6,9 +6,11 @@ stdenv.mkDerivation rec {
version = "2.0.29";
name = "munin-${version}";
src = fetchurl {
url = "https://github.com/munin-monitoring/munin/archive/${version}.tar.gz";
sha256 = "1zpv0p10iyx49z1hsqvlkk6hh46hp9dhbrdyx103hgx7p3xnxfnv";
src = fetchFromGitHub {
owner = "munin-monitoring";
repo = "munin";
rev = version;
sha256 = "058x023ciqzqn0n1qfhb2wskg24hjdl2kcrza2a33wfddh9nddwj";
};
buildInputs = [