3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/ipcalc/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* 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
2017-08-01 22:03:30 +02:00

21 lines
556 B
Nix

{stdenv, fetchurl, perl}:
stdenv.mkDerivation rec {
name = "ipcalc-${version}";
version = "0.41";
src = fetchurl {
url = "http://jodies.de/ipcalc-archive/${name}.tar.gz";
sha256 = "dda9c571ce3369e5b6b06e92790434b54bec1f2b03f1c9df054c0988aa4e2e8a";
};
buildInputs = [perl];
installPhase = ''
mkdir -p $out/bin
cp ipcalc $out/bin
'';
meta = {
description = "Simple IP network calculator";
homepage = http://jodies.de/ipcalc;
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.all;
};
}