aboutsummaryrefslogtreecommitdiff
path: root/scripts/paku
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-01-21 00:25:49 -0300
committerEuAndreh <eu@euandre.org>2022-01-21 00:28:12 -0300
commitb3d12efeb44c8921e7206f3a79b7119bf73ad830 (patch)
treef8c124639352d9f324d54fbb1d8079ec9cefed06 /scripts/paku
parentpaku.json: Remove dependency on m4 (diff)
downloadpackage-repository-b3d12efeb44c8921e7206f3a79b7119bf73ad830.tar.gz
package-repository-b3d12efeb44c8921e7206f3a79b7119bf73ad830.tar.xz
scripts/paku: make package declarations more idiomatic
Diffstat (limited to '')
-rwxr-xr-xscripts/paku8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/paku b/scripts/paku
index 7877b2b..5d4dd6b 100755
--- a/scripts/paku
+++ b/scripts/paku
@@ -78,7 +78,7 @@ EOF
(delete 'configure))))
(synopsis (file-append source "/description"))
(description (file-append source "/long-description"))
- (home-page (string-append "https://euandreh.xyz/" name "/"))
+ (home-page "https://euandreh.xyz/$NAME/")
(license license:agpl3+)))
EOF
done
@@ -142,9 +142,9 @@ $CHECK_INPUTS
meta = with pkgs.lib; {
description = readFile "\${src}/description";
longDescription = readFile "\${src}/long-description";
- homepage = "https://euandreh.xyz/\${name}/";
- changelog = "https://euandreh.xyz/\${name}/CHANGELOG.html";
- downloadPage = "https://euandreh.xyz/\${name}/#releases";
+ homepage = "https://euandreh.xyz/$NAME/";
+ changelog = "https://euandreh.xyz/$NAME/CHANGELOG.html";
+ downloadPage = "https://euandreh.xyz/$NAME/#releases";
license = licenses.agpl3;
platforms = platforms.unix;
};