1{ lib
2, stdenv
3, fetchFromGitHub
4, rustPlatform
5, nix-gitignore
6}:
7
8rustPlatform.buildRustPackage rec {
9 pname = "nsncd";
10 version = "unstable-2022-11-14";
11
12 src = fetchFromGitHub {
13 owner = "nix-community";
14 repo = "nsncd";
15 rev = "47e580f1db99603df6e212a2e62f18cc970cef40";
16 hash = "sha256-Nv3MYZcuYgD66BAGs3Tg37s086HAGsaDBFvELqQF3Tk=";
17 };
18
19 cargoSha256 = "sha256-c1L6nEUBHw1YegmoRrI3WU/bF80Nzbz13hsGlNyBR9o=";
20
21 meta = with lib; {
22 description = "the name service non-caching daemon";
23 longDescription = ''
24 nsncd is a nscd-compatible daemon that proxies lookups, without caching.
25 '';
26 homepage = "https://github.com/twosigma/nsncd";
27 license = licenses.asl20;
28 maintainers = with maintainers; [ flokli ninjatrappeur ];
29 # never built on aarch64-darwin, x86_64-darwin since first introduction in nixpkgs
30 broken = stdenv.isDarwin;
31 };
32}