sslscan: use fetchFromGitHub
This commit is contained in:
parent
5325163374
commit
8d317336ef
@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user