Update guix package declaration

Julien LepillerSun Mar 14 18:40:40+0100 2021

d9b60ee

Update guix package declaration

guix.scm

1919
  ((guix licenses) #:prefix license:)
2020
  (guix build-system gnu)
2121
  (guix download)
22+
  (guix gexp)
2223
  (guix git-download)
2324
  (guix packages)
2425
  (guix utils)

2930
  (gnu packages texinfo)
3031
  (gnu packages tls))
3132
33+
(define %srcdir
34+
  (dirname (current-filename)))
35+
3236
(package
3337
  (name "guile-netlink")
3438
  (version "0.1")
35-
  (source
36-
    (origin
37-
      (method git-fetch)
38-
      (uri (git-reference
39-
             (url "https://framagit.org/tyreunom/guile-netlink")
40-
             (commit version)))
41-
      (file-name (git-file-name name version))
42-
      (sha256
43-
       (base32
44-
        "0zfn3nwlz6xzip1j8xbj768dc299r037cfc81bk6kwl9xhzkjbrg"))))
39+
  (source (local-file "." "guile-netlink-checkout"
40+
                      #:recursive? #t
41+
                      #:select? (git-predicate %srcdir)))
4542
  (build-system gnu-build-system)
4643
  (arguments
4744
   `(#:tests? #f)); no tests

5249
     ("autoconf" ,autoconf)
5350
     ("pkg-config" ,pkg-config)
5451
     ("texinfo" ,texinfo)))
55-
  (home-page "https://framagit.org/tyreunom/guile-netlink")
56-
  (synopsis "")
57-
  (description "")
52+
  (home-page "https://git.lepiller.eu/guile-netlink")
53+
  (synopsis "Netlink protocol implementation for Guile")
54+
  (description "Guile Netlink is a GNU Guile library providing an implementation
55+
of the netlink protocol.
56+
57+
It provides a generic library for writing implementations of a netlink
58+
protocol, a low-level rtnetlink implementation that uses that library and a
59+
high-level API for network management that uses rtnetlink.")
5860
  (license license:gpl3+))