Fix license field for Guix package

This commit is contained in:
Timotej Lazar 2022-12-27 20:17:44 +01:00
parent e75de60cc1
commit a753ae7172

View file

@ -24,6 +24,8 @@
(with-directory-excursion directory
(read-line (open-pipe* OPEN_READ "git" "describe" "--always" "--tags"))))
(define license (@@ (guix licenses) license))
(define source-dir (dirname (current-filename)))
(define-public avp
@ -33,7 +35,7 @@
(source (local-file source-dir #:recursive? #t #:select? (git-predicate source-dir)))
(build-system cmake-build-system)
(arguments
'(#:tests? #f))
(list #:tests? #f))
(inputs
(list ffmpeg mesa openal sdl2))
(home-page "https://sr.ht/~jetomit/avp")
@ -41,6 +43,6 @@
(description "Unofficial Linux port of the game engine for the Rebellion
Developments game Aliens Versus Predator. This package does not
provide game assets.")
(license "file:///LICENSE")))
(license (license "avp" "file:///LICENSE" "Aliens Versus Predator license"))))
avp