f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
35 lines
839 B
Nix
35 lines
839 B
Nix
{ stdenv, fetchurl, buildPerlPackage, perlPackages
|
|
}:
|
|
|
|
buildPerlPackage rec {
|
|
name = "pflogsumm-${version}";
|
|
version = "1.1.3";
|
|
|
|
src = fetchurl {
|
|
url = "http://jimsun.linxnet.com/downloads/${name}.tar.gz";
|
|
sha256 = "0hkim9s5f1yg5sfs5048jydhy3sbxafls496wcjk0cggxb113py4";
|
|
};
|
|
|
|
outputs = [ "out" "man" ];
|
|
buildInputs = [ perlPackages.DateCalc ];
|
|
|
|
preConfigure = ''
|
|
touch Makefile.PL
|
|
'';
|
|
doCheck = false;
|
|
|
|
installPhase = ''
|
|
mkdir -p "$out/bin"
|
|
mv "pflogsumm.pl" "$out/bin/pflogsumm"
|
|
|
|
mkdir -p "$out/share/man/man1"
|
|
mv "pflogsumm.1" "$out/share/man/man1"
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://jimsun.linxnet.com/postfix_contrib.html;
|
|
maintainers = with stdenv.lib.maintainers; [ schneefux ];
|
|
description = "Postfix activity overview";
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
};
|
|
}
|