summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.si>2022-12-27 20:17:44 +0100
committerTimotej Lazar <timotej.lazar@araneo.si>2022-12-27 20:17:44 +0100
commita753ae71723a97b1fa37d7d14a3ec2e09697a4fe (patch)
tree786741d148b62cb3e147c3ec48f0947adc02e51b
parente75de60cc153acfe09b0e25cf007c2ebd14ca571 (diff)
Fix license field for Guix package
-rw-r--r--guix.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/guix.scm b/guix.scm
index adaa7da..3f7feb8 100644
--- a/guix.scm
+++ b/guix.scm
@@ -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