Unverified Commit 10250ddf authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

xca: 2.7.0 -> 2.8.0 (#349711)

parents 1afca87d 954c49aa
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -12,13 +12,13 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "xca";
  version = "2.7.0";
  version = "2.8.0";

  src = fetchFromGitHub {
    owner = "chris2511";
    repo = "xca";
    rev = "RELEASE.${finalAttrs.version}";
    hash = "sha256-Ty6j0Fl2smMGxp+1nnD3Fu83bn19gqtRKSA1wDgNZes=";
    hash = "sha256-2TqqHTutG+5YU2mJNTS3pvtEqV7qKVB+j/dipdmEkIk=";
  };

  buildInputs = [ openssl qtbase ];
@@ -36,6 +36,13 @@ stdenv.mkDerivation (finalAttrs: {

  enableParallelBuilding = true;

  dontWrapQtApps = stdenv.hostPlatform.isDarwin;

  postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
    mkdir -p "$out/Applications"
    mv "$out/xca.app" "$out/Applications/xca.app"
  '';

  meta = with lib; {
    description = "X509 certificate generation tool, handling RSA, DSA and EC keys, certificate signing requests (PKCS#10) and CRLs";
    mainProgram = "xca";