nixpkgs/pkgs/tools/networking/pcapfix/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
514 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "pcapfix-1.1.0";
src = fetchurl {
url = "https://f00l.de/pcapfix/${name}.tar.gz";
sha256 = "025jpsqav9wg9lql7jfpd67z1113j8gzmjc5nqf5q07b01nnpfgj";
};
postPatch = ''sed -i "s|/usr|$out|" Makefile'';
meta = with stdenv.lib; {
homepage = https://f00l.de/pcapfix/;
description = "Repair your broken pcap and pcapng files";
license = licenses.gpl3;
maintainers = [ maintainers.ehmry ];
platforms = platforms.linux;
};
}