depot/third_party/nixpkgs/pkgs/development/tools/osslsigncode/default.nix

33 lines
695 B
Nix
Raw Normal View History

{ 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;
};
}