munin: fetchurl -> fetchFromGithub
This commit is contained in:
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
|
, python, ruby, jre, nettools
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -6,9 +6,11 @@ stdenv.mkDerivation rec {
|
|||||||
version = "2.0.29";
|
version = "2.0.29";
|
||||||
name = "munin-${version}";
|
name = "munin-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/munin-monitoring/munin/archive/${version}.tar.gz";
|
owner = "munin-monitoring";
|
||||||
sha256 = "1zpv0p10iyx49z1hsqvlkk6hh46hp9dhbrdyx103hgx7p3xnxfnv";
|
repo = "munin";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "058x023ciqzqn0n1qfhb2wskg24hjdl2kcrza2a33wfddh9nddwj";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user