sslscan: use fetchFromGitHub

This commit is contained in:
Robin Gloster 2016-10-09 12:51:23 +02:00
parent 5325163374
commit 8d317336ef
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882

View File

@ -1,12 +1,14 @@
{ stdenv, fetchurl, openssl }:
{ stdenv, fetchFromGitHub, openssl }:
stdenv.mkDerivation rec {
name = "sslscan-${version}";
version = "1.11.7";
src = fetchurl {
url = "https://github.com/rbsec/sslscan/archive/${version}-rbsec.tar.gz";
sha256 = "0wygz2gm9asvhpfy44333y4pkdja1sbr41hc6mhkxg7a4ys8f9qs";
src = fetchFromGitHub {
owner = "rbsec";
repo = "sslscan";
rev = "${version}-rbsec";
sha256 = "007lf3rxcn9nz6jrki3mavgd9sd2hmm9nzp2g13h0ri51yc3bkp0";
};
buildInputs = [ openssl ];
@ -23,4 +25,3 @@ stdenv.mkDerivation rec {
platforms = platforms.all;
};
}