at 24.05-pre 35 lines 1.0 kB view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, rustPlatform 5, nix-gitignore 6}: 7 8rustPlatform.buildRustPackage rec { 9 pname = "nsncd"; 10 version = "unstable-2023-10-26"; 11 12 # https://github.com/twosigma/nsncd/pull/71 has not been upstreamed 13 # to twosigma/nsncd yet. Using the nix-community fork in the 14 # meantime. 15 src = fetchFromGitHub { 16 owner = "nix-community"; 17 repo = "nsncd"; 18 rev = "d6513421f420e407248c6d0aee39ae2f861a7cec"; 19 hash = "sha256-PykzwpPxMDHJOr2HubXuw+Krk9Jbi0E3M2lEAOXhx2M="; 20 }; 21 22 cargoSha256 = "sha256-cUM7rYXWpJ0aMiurXBp15IlxAmf/x5uiodxEqBPCQT0="; 23 24 meta = with lib; { 25 description = "the name service non-caching daemon"; 26 longDescription = '' 27 nsncd is a nscd-compatible daemon that proxies lookups, without caching. 28 ''; 29 homepage = "https://github.com/twosigma/nsncd"; 30 license = licenses.asl20; 31 maintainers = with maintainers; [ flokli picnoir ]; 32 # never built on aarch64-darwin, x86_64-darwin since first introduction in nixpkgs 33 broken = stdenv.isDarwin; 34 }; 35}