From a753ae71723a97b1fa37d7d14a3ec2e09697a4fe Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Tue, 27 Dec 2022 20:17:44 +0100 Subject: [PATCH] Fix license field for Guix package --- guix.scm | 6 ++++-- 1 file 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