Merge pull request #282909 from picnoir/pic/nsncd-upstream-ftw
ncncd: unstable-2023-10-26 -> unstable-2024-01-16
This commit is contained in:
commit
35888dc4ce
1 changed files with 11 additions and 8 deletions
|
@ -7,19 +7,22 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "nsncd";
|
pname = "nsncd";
|
||||||
version = "unstable-2023-10-26";
|
version = "unstable-2024-01-16";
|
||||||
|
|
||||||
# https://github.com/twosigma/nsncd/pull/71 has not been upstreamed
|
|
||||||
# to twosigma/nsncd yet. Using the nix-community fork in the
|
|
||||||
# meantime.
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nix-community";
|
owner = "twosigma";
|
||||||
repo = "nsncd";
|
repo = "nsncd";
|
||||||
rev = "d6513421f420e407248c6d0aee39ae2f861a7cec";
|
rev = "f4706786f26d12c533035fb2916be9be5751150b";
|
||||||
hash = "sha256-PykzwpPxMDHJOr2HubXuw+Krk9Jbi0E3M2lEAOXhx2M=";
|
hash = "sha256-GbKDWW00eZZwmslkaGIO8hjCyD5xi7h+S2WP6q5ekOQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-cUM7rYXWpJ0aMiurXBp15IlxAmf/x5uiodxEqBPCQT0=";
|
cargoSha256 = "sha256-jAxcyMPDTBFBrG0cuKm0Tm5p/UEnUgTPQKDgqY2yK7w=";
|
||||||
|
checkFlags = [
|
||||||
|
# Relies on the test environment to be able to resolve "localhost"
|
||||||
|
# on IPv4. That's not the case in the Nix sandbox somehow. Works
|
||||||
|
# when running cargo test impurely on a (NixOS|Debian) machine.
|
||||||
|
"--skip=ffi::test_gethostbyname2_r"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "the name service non-caching daemon";
|
description = "the name service non-caching daemon";
|
||||||
|
|
Loading…
Reference in a new issue