gnu: libxcrypt: Build from tarball.

* gnu/packages/crypto.scm (libxcrypt): Switch to url-fetch as it is now a
transitive dependency of git-minimal.  Because we're building from a tarball,
remove autotools and pkg-config dependencies.

Change-Id: I6479db1efe325bbdd109e4db051096d6345ad6a1
This commit is contained in:
Josselin Poiret 2024-03-02 22:45:41 +01:00 committed by Ludovic Courtès
parent 9b9977f355
commit 4eb52d484e
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1653,24 +1653,16 @@ (define-public libxcrypt
(version "4.4.36") (version "4.4.36")
(source (source
(origin (origin
(method git-fetch) (method url-fetch)
(uri (git-reference (uri
(url "https://github.com/besser82/libxcrypt") (string-append
(commit (string-append "v" version)))) "https://github.com/besser82/libxcrypt/releases/download/v" version
(file-name (git-file-name name version)) "/libxcrypt-" version ".tar.xz"))
(sha256 (sha256
(base32 "1yhpjjjv38y14nrj15bkndq824v42plndgi3k8mmc04grj1fbnjf")))) (base32 "0hw9zphnbzgys5k7ja37iqmwmlyn0y417qr6xqmdw08axv5g9qg5"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
(list autoconf (list perl))
automake
libtool
perl
pkg-config
;; Do not run tests needing python, since Python < 3.13 needs it
;; for its crypt module
#;python-3
#;python-passlib))
(synopsis (synopsis
"Extended crypt library for descrypt, md5crypt, bcrypt, and others") "Extended crypt library for descrypt, md5crypt, bcrypt, and others")
(description (description