mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
25 lines
575 B
Nix
25 lines
575 B
Nix
{ stdenv, fetchurl, perl, gd, rrdtool }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "2.17.7";
|
|
pname = "mrtg";
|
|
|
|
src = fetchurl {
|
|
url = "https://oss.oetiker.ch/mrtg/pub/${pname}-${version}.tar.gz";
|
|
sha256 = "1hrjqfi290i936nblwpfzjn6v8d8p69frcrvml206nxiiwkcp54v";
|
|
};
|
|
|
|
buildInputs = [
|
|
perl gd rrdtool
|
|
];
|
|
|
|
meta = {
|
|
description = "The Multi Router Traffic Grapher";
|
|
homepage = https://oss.oetiker.ch/mrtg/;
|
|
license = stdenv.lib.licenses.gpl2;
|
|
maintainers = [ stdenv.lib.maintainers.robberer ];
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|