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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
729 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
2023-03-13 17:28:05 +00:00
, cmake
, pkg-config
, python3
, curl
, openssl
}:
stdenv.mkDerivation rec {
pname = "osslsigncode";
2024-03-04 02:14:58 +00:00
version = "2.8";
src = fetchFromGitHub {
owner = "mtrojnar";
repo = pname;
rev = version;
2024-03-04 02:14:58 +00:00
sha256 = "sha256-FcrymV0n/Bv0cS9Dx6sG+ifilBiPfaG+xpQvH9mvylQ=";
};
nativeBuildInputs = [ cmake pkg-config python3 ];
buildInputs = [ curl openssl ];
meta = with lib; {
homepage = "https://github.com/mtrojnar/osslsigncode";
description = "OpenSSL based Authenticode signing for PE/MSI/Java CAB files";
mainProgram = "osslsigncode";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ mmahut prusnak ];
platforms = platforms.all;
};
}