1{ lib
2, stdenv
3, fetchFromGitHub
4, cmake
5, pkg-config
6, python3
7, curl
8, openssl
9}:
10
11stdenv.mkDerivation rec {
12 pname = "osslsigncode";
13 version = "2.7";
14
15 src = fetchFromGitHub {
16 owner = "mtrojnar";
17 repo = pname;
18 rev = version;
19 sha256 = "sha256-TW4/alnAW3vifAKf02RlnpOq1uW7nc+Sjs0g1BfplLk=";
20 };
21
22 nativeBuildInputs = [ cmake pkg-config python3 ];
23
24 buildInputs = [ curl openssl ];
25
26 meta = with lib; {
27 homepage = "https://github.com/mtrojnar/osslsigncode";
28 description = "OpenSSL based Authenticode signing for PE/MSI/Java CAB files";
29 license = licenses.gpl3Plus;
30 maintainers = with maintainers; [ mmahut prusnak ];
31 platforms = platforms.all;
32 };
33}