Unverified Commit 64984288 authored by Hythera's avatar Hythera
Browse files

firebird_5: init at 5.0.4

Having strictDeps and __structuredAttrs set to true is now required by
nixpkgs-vet for new packages. Setting this for all packages for less
hastle.
parent acc08216
Loading
Loading
Loading
Loading
+32 −1
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
  fetchDebianPatch,
  libedit,
  autoreconfHook,
  cmake,
  zlib,
  unzip,
  libtommath,
@@ -48,6 +49,9 @@ let

    enableParallelBuilding = true;

    __structuredAttrs = true;
    strictDeps = true;

    installPhase = ''
      runHook preInstall
      mkdir -p $out
@@ -113,5 +117,32 @@ rec {
    }
  );

  firebird = firebird_4;
  firebird_5 = stdenv.mkDerivation (
    base
    // rec {
      version = "5.0.4";

      src = fetchFromGitHub {
        owner = "FirebirdSQL";
        repo = "firebird";
        rev = "v${version}";
        hash = "sha256-wAiOyCVS7fjVqrDlJJwDFxw5ZD5spnXlYKCAQ8gctHI=";
      };

      # CMake is just used for libcds
      dontUseCmakeConfigure = true;

      nativeBuildInputs = base.nativeBuildInputs ++ [
        cmake
        unzip
      ];
      buildInputs = base.buildInputs ++ [
        zlib
        libtommath
        libtomcrypt
      ];
    }
  );

  firebird = firebird_5;
}
+1 −0
Original line number Diff line number Diff line
@@ -8009,6 +8009,7 @@ with pkgs;
  dovecot_pigeonhole_2_4 = dovecot_pigeonhole;

  inherit (callPackages ../servers/firebird { })
    firebird_5
    firebird_4
    firebird_3
    firebird