summary refs log tree commit diff
path: root/gnu/packages/sssd.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2022-05-29 02:00:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2022-05-29 02:00:16 +0200
commitb00f2728d81bc348528aaed2d1940494df01a6de (patch)
treea4b64ce635fd714c93852c5e6bbf2fa7eb3336dd /gnu/packages/sssd.scm
parent344bd4cf5cde94c694b6843e18d6d96f39084b00 (diff)
downloadguix-b00f2728d81bc348528aaed2d1940494df01a6de.tar.gz
gnu: ding-libs: Build from Git.
* gnu/packages/sssd.scm (ding-libs)[source]:
Use GIT-FETCH and GIT-FILE-NAME.
[native-inputs]: Add autoconf, automake, libtool, and pkg-config.
Diffstat (limited to 'gnu/packages/sssd.scm')
-rw-r--r--gnu/packages/sssd.scm19
1 files changed, 11 insertions, 8 deletions
diff --git a/gnu/packages/sssd.scm b/gnu/packages/sssd.scm
index 2b4322d6d8..562d4c1045 100644
--- a/gnu/packages/sssd.scm
+++ b/gnu/packages/sssd.scm
@@ -1,6 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
-;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2017, 2018, 2022 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2021 Timotej Lazar <timotej.lazar@araneo.si>
 ;;; Copyright © 2021, 2022 Remco van 't Veer <remco@remworks.net>
@@ -123,14 +123,17 @@ manage user, group and computer accounts for a domain.")
   (package
     (name "ding-libs")
     (version "0.6.1")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://releases.pagure.org/SSSD/ding-libs/"
-                                  "ding-libs-" version ".tar.gz"))
-              (sha256
-               (base32
-                "1h97mx2jdv4caiz4r7y8rxfsq78fx0k4jjnfp7x2s7xqvqks66d3"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/SSSD/ding-libs")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0127cpslqkapwx1rp4d1w13gw62m4cwf3hj8r0nnmvihs4199270"))))
     (build-system gnu-build-system)
+    (native-inputs (list autoconf automake libtool pkg-config))
     (home-page "https://pagure.io/SSSD/ding-libs/")
     (synopsis "Libraries for SSSD")
     (description