From b3d12efeb44c8921e7206f3a79b7119bf73ad830 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 21 Jan 2022 00:25:49 -0300 Subject: scripts/paku: make package declarations more idiomatic --- scripts/paku | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts') 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; }; -- cgit v1.2.3