Commit a6093660 authored by Michael Hanley's avatar Michael Hanley
Browse files

trust-dns: 0.22.1 -> 0.23.0

parent ac08ee94
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
{ config, lib, pkgs, ... }:

let
  cfg = config.services.trust-dns;
  toml = pkgs.formats.toml { };
@@ -55,7 +54,7 @@ in
        defaultText = "pkgs.trust-dns";
        description = mdDoc ''
          Trust-dns package to use.
          Only `bin/named` need be provided: the other trust-dns utilities (client and resolver) are not needed.
          Only `bin/trust-dns` need be provided: the other trust-dns utilities (client and resolver) are not needed.
        '';
      };
      quiet = mkOption {
@@ -136,7 +135,7 @@ in
          flags =  (lib.optional cfg.debug "--debug") ++ (lib.optional cfg.quiet "--quiet");
          flagsStr = builtins.concatStringsSep " " flags;
        in ''
          ${cfg.package}/bin/named --config ${configFile} ${flagsStr}
          ${cfg.package}/bin/trust-dns --config ${configFile} ${flagsStr}
        '';
        Type = "simple";
        Restart = "on-failure";
+3 −3
Original line number Diff line number Diff line
@@ -7,15 +7,15 @@

rustPlatform.buildRustPackage rec {
  pname = "trust-dns";
  version = "0.22.1";
  version = "0.23.0";

  src = fetchFromGitHub {
    owner = "bluejekyll";
    repo = "trust-dns";
    rev = "v${version}";
    sha256 = "sha256-YjwzU/mYKiHL2xB/oczkP/4i5XYIvSNyqDLmmrRQPhM=";
    sha256 = "sha256-CfFEhZEk1Z7VG0n8EvyQwHvZIOEES5GKpm5tMeqhRVY=";
  };
  cargoHash = "sha256-uAmszVOlRttmn6b3Rv2Y5ZuP3qBIVjIFJ42BJro+K8s=";
  cargoHash = "sha256-jmow/jtdbuKFovXWA5xbgM67iJmkwP35hiOivIJ5JdM=";

  buildInputs = [ openssl ];
  nativeBuildInputs = [ pkg-config ];