diff options
author | EuAndreh <eu@euandre.org> | 2022-01-21 00:25:49 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-01-21 00:28:12 -0300 |
commit | b3d12efeb44c8921e7206f3a79b7119bf73ad830 (patch) | |
tree | f8c124639352d9f324d54fbb1d8079ec9cefed06 | |
parent | paku.json: Remove dependency on m4 (diff) | |
download | package-repository-b3d12efeb44c8921e7206f3a79b7119bf73ad830.tar.gz package-repository-b3d12efeb44c8921e7206f3a79b7119bf73ad830.tar.xz |
scripts/paku: make package declarations more idiomatic
-rw-r--r-- | default.nix | 6 | ||||
-rwxr-xr-x | scripts/paku | 8 | ||||
-rw-r--r-- | 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 |