2021-08-18 13:19:15 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchFromGitHub
|
2023-03-15 16:39:30 +00:00
|
|
|
, cmake
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2023-10-09 19:29:22 +00:00
|
|
|
, python3
|
2020-04-24 23:36:52 +00:00
|
|
|
, curl
|
2021-08-18 13:19:15 +00:00
|
|
|
, openssl
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "osslsigncode";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "2.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mtrojnar";
|
|
|
|
repo = pname;
|
2020-11-24 20:58:05 +00:00
|
|
|
rev = version;
|
2023-10-09 19:29:22 +00:00
|
|
|
sha256 = "sha256-TW4/alnAW3vifAKf02RlnpOq1uW7nc+Sjs0g1BfplLk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config python3 ];
|
2021-08-18 13:19:15 +00:00
|
|
|
|
|
|
|
buildInputs = [ curl openssl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/mtrojnar/osslsigncode";
|
|
|
|
description = "OpenSSL based Authenticode signing for PE/MSI/Java CAB files";
|
|
|
|
license = licenses.gpl3Plus;
|
2020-11-24 20:58:05 +00:00
|
|
|
maintainers = with maintainers; [ mmahut prusnak ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|