gnu: nsncd: Remove duplicate definition.

* gnu/packages/rust-apps.scm (nsncd): Remove variable.
* gnu/packages/nss.scm (nsncd)[arguments]: Don't install the sources.

Change-Id: I6e95f1b38cdf541a1b341ac9e55bf33ee4bbf098
This commit is contained in:
Efraim Flashner 2024-06-19 11:48:13 +03:00
parent cc164f92db
commit 04c704285e
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
2 changed files with 1 additions and 45 deletions

View file

@ -323,6 +323,7 @@ (define-public nsncd
;; These tests fail with the current builder network setup ;; These tests fail with the current builder network setup
"--skip=ffi::test_gethostbyaddr_r" "--skip=ffi::test_gethostbyaddr_r"
"--skip=ffi::test_gethostbyname2_r") "--skip=ffi::test_gethostbyname2_r")
#:install-source? #f
#:cargo-inputs #:cargo-inputs
(("rust-anyhow" ,rust-anyhow-1) (("rust-anyhow" ,rust-anyhow-1)
("rust-atoi" ,rust-atoi-2) ("rust-atoi" ,rust-atoi-2)

View file

@ -1512,51 +1512,6 @@ (define-public netavark
container management applications.") container management applications.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public nsncd
(package
(name "nsncd")
(version "1.4.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/twosigma/nsncd")
(commit (string-append "v" version))))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "03z0fkdp959laa21839y6wz00rg25zvxvr14i1ailj7nkwhysdcx"))
(modules '((guix build utils)))
(snippet
'(begin (substitute* (find-files "." "^Cargo\\.toml$")
(("\"~([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
(string-append "\"^" version)))))))
(build-system cargo-build-system)
(arguments
(list
#:cargo-inputs `(("rust-anyhow" ,rust-anyhow-1)
("rust-atoi" ,rust-atoi-0.4)
("rust-slog" ,rust-slog-2)
("rust-slog-async" ,rust-slog-async-2)
("rust-slog-term" ,rust-slog-term-2)
("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
("rust-nix" ,rust-nix-0.21)
("rust-num-derive" ,rust-num-derive-0.3)
("rust-num-traits" ,rust-num-traits-0.2)
("rust-sd-notify" ,rust-sd-notify-0.3)
("rust-once-cell" ,rust-once-cell-1)
("rust-static-assertions" ,rust-static-assertions-1))
#:cargo-development-inputs `(("rust-criterion" ,rust-criterion-0.3)
("rust-temp-env" ,rust-temp-env-0.3))
#:install-source? #f))
(home-page "https://github.com/twosigma/nsncd")
(synopsis "Name service non-caching daemon")
(description
"Nsncd implements the @acronym{NSCD, name-service caching daemon} protocol
to provide out-of-process NSS lookups but does not implement caching. It is
designed to provide high-performance NSS lookups for programs that are not using
the system libc, while providing semantics as if NSCD were not being used.")
(license license:asl2.0)))
(define-public ripgrep (define-public ripgrep
(package (package
(name "ripgrep") (name "ripgrep")