2021-08-17 12:34:49 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2019-08-22 07:29:56 +00:00
|
|
|
, fetchFromGitHub
|
2023-03-13 17:28:05 +00:00
|
|
|
, cmake
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2023-08-21 21:04:28 +00:00
|
|
|
, python3
|
2019-08-22 07:29:56 +00:00
|
|
|
, curl
|
2021-08-17 12:34:49 +00:00
|
|
|
, openssl
|
2019-08-22 07:29:56 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "osslsigncode";
|
2024-03-04 02:14:58 +00:00
|
|
|
version = "2.8";
|
2019-08-22 07:29:56 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mtrojnar";
|
|
|
|
repo = pname;
|
2020-11-11 18:41:04 +00:00
|
|
|
rev = version;
|
2024-03-04 02:14:58 +00:00
|
|
|
sha256 = "sha256-FcrymV0n/Bv0cS9Dx6sG+ifilBiPfaG+xpQvH9mvylQ=";
|
2019-08-22 07:29:56 +00:00
|
|
|
};
|
|
|
|
|
2023-08-21 21:04:28 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config python3 ];
|
2021-08-17 12:34:49 +00:00
|
|
|
|
|
|
|
buildInputs = [ curl openssl ];
|
2019-08-22 07:29:56 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-08-22 07:29:56 +00:00
|
|
|
homepage = "https://github.com/mtrojnar/osslsigncode";
|
|
|
|
description = "OpenSSL based Authenticode signing for PE/MSI/Java CAB files";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "osslsigncode";
|
2019-08-22 07:29:56 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2020-11-11 18:41:04 +00:00
|
|
|
maintainers = with maintainers; [ mmahut prusnak ];
|
2019-08-22 07:29:56 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|