vnstat: 2.6 -> 2.7

change to fetchFromGitHub

and set myself as a maintainer
This commit is contained in:
Evils 2021-05-17 14:57:38 +02:00
parent 83d907fd76
commit 74b0ac3e88

View file

@ -1,12 +1,20 @@
{ lib, stdenv, fetchurl, pkg-config, gd, ncurses, sqlite, check }: { lib, stdenv
, fetchFromGitHub
, pkg-config
, gd, ncurses
, sqlite
, check
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "vnstat"; pname = "vnstat";
version = "2.6"; version = "2.7";
src = fetchurl { src = fetchFromGitHub {
sha256 = "1xvzkxkq1sq33r2s4f1967f4gnca4xw411sbapdkx541f856w9w9"; owner = "vergoh";
url = "https://humdi.net/${pname}/${pname}-${version}.tar.gz"; repo = pname;
rev = "v${version}";
sha256 = "105krrc7hl5mbj89i1k3w8yzqrg4f0q96lmyv4rc7fhhds5zam2h";
}; };
postPatch = '' postPatch = ''
@ -32,5 +40,6 @@ stdenv.mkDerivation rec {
homepage = "https://humdi.net/vnstat/"; homepage = "https://humdi.net/vnstat/";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ evils ];
}; };
} }