From d80a47f2f53a686a0aef9ecf50d5d7f35e153a09 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Wed, 2 Aug 2017 12:09:02 +0100 Subject: gnu: libnl: Add "doc" output. * gnu/packages/linux.scm (libnl)[native-inputs]: Add doc origin. [outputs]: New field. [arguments]: Add 'install-doc' phase. New field. Co-authored-by: Marius Bakke --- gnu/packages/linux.scm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index ce95de6278..2df4c86cea 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1464,7 +1464,29 @@ transparently through a bridge.") (base32 "1r3lw3hjvqxi5zqyq2w1qadm3gisd9nlf71dkl4yplacmssnhm3h")))) (build-system gnu-build-system) - (native-inputs `(("flex" ,flex) ("bison" ,bison))) + (native-inputs + `(("bison" ,bison) + ("flex" ,flex) + ("libnl3-doc" + ,(origin + (method url-fetch) + (uri (string-append + "https://github.com/thom311/libnl/releases/download/libnl" + (string-join (string-split version #\.) "_") + "/libnl-doc-" version ".tar.gz")) + (sha256 + (base32 "0srab805yj8wb13l64qjyp3mdbqapxg5vk46v3zlhhzpmxqw8j7r")))))) + (outputs '("out" "doc")) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'install-doc + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((dest (string-append (assoc-ref outputs "doc") + "/share/doc/libnl"))) + (mkdir-p dest) + (zero? (system* "tar" "xf" (assoc-ref inputs "libnl3-doc") + "--strip-components=1" "-C" dest)))))))) (home-page "http://www.infradead.org/~tgr/libnl/") (synopsis "NetLink protocol library suite") (description -- cgit v1.2.3 e='submit' value='search'/>
AgeCommit message (Expand)Author
2023-08-21tests: Adjust 'node-back-edges' test for 'bag' to system-dependent glibc....Ludovic Courtès
2023-04-07gnu: Purge pre-1.3.0 deprecated packages....Bruno Victal
2022-10-22Remove now unnecessary uses of (guix grafts)....Ludovic Courtès
2022-07-01tests: Adjust 'guix graph' test to latest OCaml changes....Ludovic Courtès
2022-02-05tests: Assert that cyclic graphs can be produced....Liliana Marie Prikler
2021-09-21graph: Add '--max-depth'....Ludovic Courtès
2020-10-20graph: Adjust test for recent OCaml changes....Ludovic Courtès
2020-05-22packages: Introduce <content-hash> and use it in <origin>....Ludovic Courtès
2020-05-11graph: Add 'shortest-path'....Ludovic Courtès
2020-05-11graph: reference/referrer node types work with graph traversal....Ludovic Courtès
2020-02-05tests: Adjust reverse-bag graph test to recent OCaml changes....Ludovic Courtès
2019-03-23Merge branch 'staging' into core-updatesMarius Bakke
2019-03-23graph: Add the 'reverse-bag' graph....Ludovic Courtès
2018-09-22bootstrap: %bootstrap-inputs: Wrap input lists into thunks....Jan Nieuwenhuizen
2018-06-06tests: Adjust graph test....Ludovic Courtès
2018-05-08guix: Separate the package name and version with "@", not "-"....Chris Marusich
2018-03-27graph: Add "module" node type....Ludovic Courtès
2017-12-17graph: Adjust test for glibc:static among the implicit inputs....Ludovic Courtès
2017-01-04graph: Add '%reverse-package-node-type'....Ludovic Courtès
2016-12-14graph: Backend must have name and description....Ricardo Wurmus
2016-10-15graph: Add '%referrer-node-type'....Ludovic Courtès
2016-05-24graph: Add 'node-reachable-count'....Ludovic Courtès
2016-04-03build: Add a Guile custom test driver using SRFI-64....Mathieu Lirzin
2016-03-06tests: Disable grafting by default for most tests....Ludovic Courtès
2016-01-13tests: Use sed instead of grep as a package with no dependencies....Ludovic Courtès
2016-01-02graph: %BAG-WITH-ORIGINS-NODE-TYPE includes the origin's guile....Ludovic Courtès
2016-01-02graph: %BAG-EMERGED-NODE-TYPE filters out origins....Ludovic Courtès
2015-12-13graph: Add synthetic test....Ludovic Courtès
2015-11-23graph: Add '%bag-with-origins-node-type'....Ludovic Courtès
2015-11-21graph: Add procedures to query a node's edges....Ludovic Courtès
2015-11-21Add (guix graph)....Ludovic Courtès
2015-08-27Add 'guix graph'....Ludovic Courtès