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 --- default.nix | 6 +++--- scripts/paku | 8 ++++---- src/xyz/euandreh/packages.scm | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/default.nix b/default.nix index eeb89ba..85962bf 100644 --- a/default.nix +++ b/default.nix @@ -18,9 +18,9 @@ self: super: { 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/td/"; + changelog = "https://euandreh.xyz/td/CHANGELOG.html"; + downloadPage = "https://euandreh.xyz/td/#releases"; license = licenses.agpl3; platforms = platforms.unix; }; 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; }; diff --git a/src/xyz/euandreh/packages.scm b/src/xyz/euandreh/packages.scm index 2262427..936fcc9 100644 --- a/src/xyz/euandreh/packages.scm +++ b/src/xyz/euandreh/packages.scm @@ -33,7 +33,7 @@ (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/td/") (license license:agpl3+))) (list -- cgit v1.2.3