2021-08-17 14:34:49 +02:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2019-08-22 09:29:56 +02:00
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
2021-01-19 07:50:56 +01:00
|
|
|
, pkg-config
|
2019-08-22 09:29:56 +02:00
|
|
|
, curl
|
2021-08-17 14:34:49 +02:00
|
|
|
, openssl
|
2019-08-22 09:29:56 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "osslsigncode";
|
2021-08-17 12:45:25 +02:00
|
|
|
version = "2.2";
|
2019-08-22 09:29:56 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mtrojnar";
|
|
|
|
repo = pname;
|
2020-11-11 19:41:04 +01:00
|
|
|
rev = version;
|
2021-08-17 12:45:25 +02:00
|
|
|
sha256 = "sha256-/YKj6JkVbQ4Fz+KSmBIRQ7F7A8fxi5Eg+pvKwhjpGYQ=";
|
2019-08-22 09:29:56 +02:00
|
|
|
};
|
|
|
|
|
2021-08-17 14:34:49 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [ curl openssl ];
|
2019-08-22 09:29:56 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-08-22 09:29:56 +02:00
|
|
|
homepage = "https://github.com/mtrojnar/osslsigncode";
|
|
|
|
description = "OpenSSL based Authenticode signing for PE/MSI/Java CAB files";
|
|
|
|
license = licenses.gpl3Plus;
|
2020-11-11 19:41:04 +01:00
|
|
|
maintainers = with maintainers; [ mmahut prusnak ];
|
2019-08-22 09:29:56 +02:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|