gnu: Add nsncd .

*  (): New variable.

Change-Id: I04bfe1ff4dd43b19c09e677bfd3506a447ce45b7
This commit is contained in:
Picnoir 2024-05-12 22:58:42 +02:00
parent cf5f7a8bf9
commit 885004eebf
2 changed files with 121 additions and 0 deletions

View file

@ -33597,6 +33597,18 @@ (define-public rust-libc-0.2
(license (list license:expat
license:asl2.0))))
(define-public rust-libc-0.2.153
(package
(inherit rust-libc-0.2)
(version "0.2.153")
(source
(origin
(method url-fetch)
(uri (crate-uri "libc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1gg7m1ils5dms5miq9fyllrcp0jxnbpgkx71chd2i0lafa8qy6cw"))))))
(define-public rust-libc-print-0.1
(package
(name "rust-libc-print")
@ -62875,6 +62887,74 @@ (define-public rust-slog-async-2
(description "This package provides an asynchronous drain for slog.")
(license (list license:mpl2.0 license:expat license:asl2.0))))
(define-public rust-dns-lookup-2
(package
(name "rust-dns-lookup")
(version "2.0.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "dns-lookup" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1z74n2zij2gahycabm0gkmkyx574h76gwk7sz93yqpr3qa3n0xp5"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
("rust-libc" ,rust-libc-0.2)
("rust-socket2" ,rust-socket2-0.5)
("rust-windows-sys" ,rust-windows-sys-0.48))))
(home-page "https://github.com/keeperofdakeys/dns-lookup/")
(synopsis
"A simple dns resolving api, much like rust's unstable api. Also includes getaddrinfo and getnameinfo wrappers for libc variants.")
(description
"This package provides a simple dns resolving api, much like rust's unstable api.
Also includes getaddrinfo and getnameinfo wrappers for libc variants.")
(license (list license:expat license:asl2.0))))
(define-public rust-temp-env-0.3
(package
(name "rust-temp-env")
(version "0.3.6")
(source
(origin
(method url-fetch)
(uri (crate-uri "temp-env" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0l7hpkd0nhiy4w70j9xbygl1vjr9ipcfxii164n40iwg0ralhdwn"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-futures" ,rust-futures-0.3)
("rust-parking-lot" ,rust-parking-lot-0.12))
#:cargo-development-inputs (("rust-tokio" ,rust-tokio-1))))
(home-page "https://github.com/vmx/temp-env")
(synopsis "Set environment variables temporarily.")
(description "Set environment variables temporarily.")
(license (list license:expat license:asl2.0))))
(define-public rust-slog-async-2-8
(package
(name "rust-slog-async")
(version "2.8.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "slog-async" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "113b17aw7jx7mr68vwfq2yiv6mb4702hz6a0g587jb4ai67h7j3j"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
("rust-slog" ,rust-slog-2)
("rust-take-mut" ,rust-take-mut-0.2)
("rust-thread-local" ,rust-thread-local-1))))
(home-page "https://github.com/slog-rs/slog")
(synopsis "Asynchronous drain for slog-rs")
(description "Asynchronous drain for slog-rs")
(license (list license:mpl2.0 license:expat license:asl2.0))))
(define-public rust-slog-kvfilter-0.7
(package
(name "rust-slog-kvfilter")

View file

@ -286,3 +286,44 @@ (define-public nss/fixed
;; work around that, set the time to roughly the release date.
(invoke "faketime" "2024-01-23" "./nss/tests/all.sh"))
(format #t "test suite not run~%"))))))))))))
; (define-public nsncd
; (package
; (name "nsncd")
; (version "unstable-2024-04-09")
; (source
; (origin
; (method git-fetch)
; (uri (git-reference
; (url "https://github.com/twosigma/nsncd")
; (commit "7605e330d5a313a8656e6fcaf1c10cd6b5cdd427")))
; (file-name (git-file-name name version))
; (sha256
; (base32 "1hk8bh2a02nyk3rpzbjx1a2iiz15d0vx3ysa180wmr8gsc9ymph5"))))
; (build-system cargo-build-system)
; (arguments
; `(#:cargo-test-flags
; '("--"
; ; These tests fail with the current builder network setup
; "--skip=ffi::test_gethostbyaddr_r"
; "--skip=ffi::test_gethostbyname2_r")
; #:cargo-inputs
; (("rust-anyhow" ,rust-anyhow-1)
; ("rust-atoi" ,rust-atoi-2)
; ("rust-slog" ,rust-slog-2)
; ("rust-slog-async" ,rust-slog-async-2-8)
; ("rust-slog-term" ,rust-slog-term-2)
; ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
; ("rust-nix" ,rust-nix-0.28)
; ("rust-num-derive" ,rust-num-derive-0.3)
; ("rust-num-traits" ,rust-num-traits-0.2)
; ("rust-sd-notify" ,rust-sd-notify-0.4)
; ("rust-static-assertions" ,rust-static-assertions-1)
; ("rust-dns-lookup" ,rust-dns-lookup-2))
; #:cargo-development-inputs
; (("rust-criterion" ,rust-criterion-0.5)
; ("rust-temp-env" ,rust-temp-env-0.3))))
; (home-page "https://github.com/twosigma/nsncd")
; (synopsis "The name service non-caching daemon")
; (description "The name service non-caching daemon")
; (license (list license:asl2.0))))