From 9254e0ad52fd74539da6c857e5b92644bede5a3b Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 27 Jun 2021 20:15:20 -0300 Subject: Add git-permalink package --- paku.json | 14 ++++++++++++ src/xyz/euandreh/packages.scm | 52 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/paku.json b/paku.json index 1607d53..376ff7a 100644 --- a/paku.json +++ b/paku.json @@ -14,6 +14,20 @@ "type": "bin", "description": "Add memory to dmenu, fzf and similar tools." }, + { + "name": "git-permalink", + "suffix": "-latest", + "version": "1fe660600ad142279f34112be15dad418fe6a785", + "type": "bin", + "description": "Git extension to generate web permalinks of files in a repository" + }, + { + "name": "git-permalink", + "suffix": "", + "version": "0.2.2", + "type": "bin", + "description": "Git extension to generate web permalinks of files in a repository" + }, { "name": "autoqemu", "suffix": "-latest", diff --git a/src/xyz/euandreh/packages.scm b/src/xyz/euandreh/packages.scm index bb24a69..48f46ad 100644 --- a/src/xyz/euandreh/packages.scm +++ b/src/xyz/euandreh/packages.scm @@ -62,6 +62,56 @@ (home-page (string-append "https://" name ".euandreh.xyz")) (license license:agpl3+))) +(define-public git-permalink-latest + (package + (name "git-permalink-latest") + (version "1fe660600ad142279f34112be15dad418fe6a785") + (source (origin + (method url-fetch) + (uri (string-append + "https://git.euandreh.xyz/git-permalink/snapshot/git-permalink-" + version + ".tar.gz")) + (sha256 + (base32 + "1h322acjxyfclgs1jfb0l97xsiyz1wyxi04pynk6vmw31k76yafb")))) + (build-system gnu-build-system) + (arguments `(#:make-flags + (list (string-append "CC=" ,(cc-for-target)) + (string-append "PREFIX=" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (synopsis (file-append source "/description")) + (description (file-append source "/long-description")) + (home-page (string-append "https://" name ".euandreh.xyz")) + (license license:agpl3+))) + +(define-public git-permalink + (package + (name "git-permalink") + (version "0.2.2") + (source (origin + (method url-fetch) + (uri (string-append + "https://git.euandreh.xyz/git-permalink/snapshot/git-permalink-" + version + ".tar.gz")) + (sha256 + (base32 + "0q87iha7hsclnglw1zkqankab0v7b2ii2c3p7yflrrp0cmp2hjvj")))) + (build-system gnu-build-system) + (arguments `(#:make-flags + (list (string-append "CC=" ,(cc-for-target)) + (string-append "PREFIX=" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (synopsis (file-append source "/description")) + (description (file-append source "/long-description")) + (home-page (string-append "https://" name ".euandreh.xyz")) + (license license:agpl3+))) + (define-public autoqemu-latest (package (name "autoqemu-latest") @@ -144,6 +194,8 @@ (list remembering-latest remembering + git-permalink-latest + git-permalink autoqemu-latest fallible-latest fallible) -- cgit v1.2.3