33 lines
695 B
Nix
33 lines
695 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
, pkg-config
|
|
, curl
|
|
, openssl
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "osslsigncode";
|
|
version = "2.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mtrojnar";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-KJyGDrT3dr8DfjfRrWIENoBFuiWrgQx4qz1V+mT8/yI=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
buildInputs = [ curl openssl ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/mtrojnar/osslsigncode";
|
|
description = "OpenSSL based Authenticode signing for PE/MSI/Java CAB files";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ mmahut prusnak ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|