Unverified Commit a2b163f4 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

pdns-recursor: 5.2.7 -> 5.3.4 (#482259)

parents 46a5799b adcd6652
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -15,29 +15,31 @@
  rustPlatform,
  cargo,
  rustc,
  python3,
  enableProtoBuf ? false,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "pdns-recursor";
  version = "5.2.7";
  version = "5.3.4";

  src = fetchurl {
    url = "https://downloads.powerdns.com/releases/pdns-recursor-${finalAttrs.version}.tar.bz2";
    hash = "sha256-s7/I2M5uL94I71fMYLKl+JcOPn0TnVn74oaIKnYmObE=";
    url = "https://downloads.powerdns.com/releases/pdns-recursor-${finalAttrs.version}.tar.xz";
    hash = "sha256-+1CoWH9LPVf4jcrMImpkxRVJkrDa/SD1uwNDVeNiRSQ=";
  };

  cargoDeps = rustPlatform.fetchCargoVendor {
    inherit (finalAttrs) src;
    sourceRoot = "pdns-recursor-${finalAttrs.version}/settings/rust";
    hash = "sha256-A3NX1zj9+9qCLTkfca3v8Rr8oc/zL/Ruknjl3g1aMG4=";
    sourceRoot = "pdns-recursor-${finalAttrs.version}/rec-rust-lib/rust";
    hash = "sha256-g0Mu1+ZRQyzC4nG5ueISaDzFtmFfy+CGt063/V5lo30=";
  };

  cargoRoot = "settings/rust";
  cargoRoot = "rec-rust-lib/rust";

  nativeBuildInputs = [
    cargo
    rustc
    python3
    rustPlatform.cargoSetupHook
    pkg-config
  ];