Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 pkg-config, 7 python3, 8 curl, 9 openssl, 10}: 11 12stdenv.mkDerivation rec { 13 pname = "osslsigncode"; 14 version = "2.10"; 15 16 src = fetchFromGitHub { 17 owner = "mtrojnar"; 18 repo = "osslsigncode"; 19 rev = version; 20 sha256 = "sha256-UjjNXcHpPbyUz5CPsW+uVhZP0X9XGM3//IVv9VhmP7o="; 21 }; 22 23 nativeBuildInputs = [ 24 cmake 25 pkg-config 26 python3 27 ]; 28 29 buildInputs = [ 30 curl 31 openssl 32 ]; 33 34 meta = with lib; { 35 homepage = "https://github.com/mtrojnar/osslsigncode"; 36 description = "OpenSSL based Authenticode signing for PE/MSI/Java CAB files"; 37 mainProgram = "osslsigncode"; 38 license = licenses.gpl3Plus; 39 maintainers = with maintainers; [ 40 mmahut 41 prusnak 42 ]; 43 platforms = platforms.all; 44 }; 45}