nixpkgs/pkgs/tools/networking/dirb/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

30 lines
815 B
Nix

{ fetchurl, stdenv, automake, autoconf, curl, autoreconfHook }:
let
major = "2";
minor = "22";
in stdenv.mkDerivation rec {
name = "dirb-${version}";
version = "${major}.${minor}";
src = fetchurl {
url = "mirror://sourceforge/dirb/${version}/dirb${major}${minor}.tar.gz";
sha256 = "0b7wc2gvgnyp54rxf1n9arn6ymrvdb633v6b3ah138hw4gg8lx7k";
};
unpackPhase = ''
tar -xf $src
find . -exec chmod +x "{}" ";"
export sourceRoot="dirb222"
'';
buildInputs = [ automake autoconf curl ];
preConfigure = "chmod +x configure";
meta = {
description = "A web content scanner";
homepage = http://dirb.sourceforge.net/;
maintainers = with stdenv.lib.maintainers; [ bennofs ];
license = with stdenv.lib.licenses; [ gpl2 ];
platforms = stdenv.lib.platforms.unix;
};
}