2019-08-22 08:29:56 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, libgsf
|
|
|
|
, pkgconfig
|
2019-08-23 01:02:50 +01:00
|
|
|
, openssl
|
2019-08-22 08:29:56 +01:00
|
|
|
, curl
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "osslsigncode";
|
2020-11-11 18:41:04 +00:00
|
|
|
version = "2.1";
|
2019-08-22 08:29:56 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mtrojnar";
|
|
|
|
repo = pname;
|
2020-11-11 18:41:04 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "0iwxdzqan2bswz62pmwjcyh01vs6ifpdcannw3s192gqzac1lgg3";
|
2019-08-22 08:29:56 +01:00
|
|
|
};
|
|
|
|
|
2019-08-23 01:02:50 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook libgsf pkgconfig openssl curl ];
|
2019-08-22 08:29:56 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://github.com/mtrojnar/osslsigncode";
|
|
|
|
description = "OpenSSL based Authenticode signing for PE/MSI/Java CAB files";
|
|
|
|
license = licenses.gpl3Plus;
|
2020-11-11 18:41:04 +00:00
|
|
|
maintainers = with maintainers; [ mmahut prusnak ];
|
2019-08-22 08:29:56 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|