gnu: pict: Use release tag and install doc.

* gnu/packages/check.scm (pict)[origin]: Use the release tag (newly added
upstream).
[phases]{install}: Also install the pict.md file.
This commit is contained in:
Maxim Cournoyer 2022-02-08 11:54:51 -05:00
parent f9c62b23cc
commit bc5904e8b8
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -99,9 +99,7 @@ (define-public pict
(method git-fetch)
(uri (git-reference
(url "https://github.com/Microsoft/pict")
;; The tag name for v3.7.2 is odd ("release"); use the
;; corresponding commit for now.
(commit "b10237099713ef0e45f222042cef01dc3507a611")))
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
@ -115,7 +113,10 @@ (define-public pict
(delete 'configure)
(replace 'install
(lambda _
(install-file "pict" (string-append #$output "/bin")))))))
(install-file "pict" (string-append #$output "/bin"))
(install-file "doc/pict.md"
(string-append #$output
"/share/doc/pict-" #$version)))))))
(native-inputs (list perl))
(home-page "https://www.pairwise.org/")
(synopsis "Pairwise Independent Combinatorial Tool")