Skip to content

Commit

Permalink
munin: fetchurl -> fetchFromGithub
Browse files Browse the repository at this point in the history
  • Loading branch information
jpierre03 committed Jan 24, 2017
1 parent de9a4f5 commit 3198793
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pkgs/servers/monitoring/munin/default.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
{ stdenv, fetchurl, makeWrapper, which, coreutils, rrdtool, perl, perlPackages
{ stdenv, fetchFromGitHub, makeWrapper, which, coreutils, rrdtool, perl, perlPackages
, python, ruby, jre, nettools
}:

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 = [
Expand Down

0 comments on commit 3198793

Please sign in to comment.