dogdns: update Cargo.lock and switch to openssl 3

This commit is contained in:
figsoda 2023-05-12 13:41:38 -04:00
parent 9eff6f4469
commit 1640e4aea2
3 changed files with 369 additions and 230 deletions

File diff suppressed because it is too large Load diff

View file

@ -34,17 +34,22 @@ rustPlatform.buildRustPackage rec {
outputs = [ "out" "man" ];
postBuild = ''
just man
'';
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"mutagen-0.2.0" = "sha256-AZj+CXhaVPFFxg4Vwuzrlg87fBk+mz5FJFfVWc+PrSo=";
"mutagen-0.2.0" = "sha256-FnSeNI9lAcxonRFTu7wnP/M/d5UbMzSZ97w+mUqoEg8=";
};
};
postPatch = ''
# update Cargo.lock to work with openssl 3
ln -sf ${./Cargo.lock} Cargo.lock
'';
postBuild = ''
just man
'';
postInstall = ''
installShellCompletion completions/dog.{bash,fish,zsh}
installManPage ./target/man/*.1

View file

@ -6867,7 +6867,6 @@ with pkgs;
dog = callPackage ../tools/system/dog { };
dogdns = callPackage ../tools/networking/dogdns {
openssl = openssl_1_1;
inherit (darwin.apple_sdk.frameworks) Security;
};