diff options
-rw-r--r-- | Formula/td-latest.rb | 8 | ||||
-rw-r--r-- | default.nix | 11 | ||||
-rw-r--r-- | paku.json | 17 | ||||
-rw-r--r-- | src/xyz/euandreh/packages.scm | 8 |
4 files changed, 15 insertions, 29 deletions
diff --git a/Formula/td-latest.rb b/Formula/td-latest.rb index 9272914..fc7d75d 100644 --- a/Formula/td-latest.rb +++ b/Formula/td-latest.rb @@ -1,12 +1,10 @@ class TdLatest < Formula desc 'Minimalistic bug tracker CLI' - homepage 'https://td.euandreh.xyz' - url 'https://euandreh.xyz/td.git/snapshot/td-90f2352c78b921c50f4c8547baa609c272248c30.tar.gz' - sha256 '6e24ca7be5bc889c0747fb00e1bef29cecb0c92f5fe48ca3a516790afb85651a' + homepage 'https://euandreh.xyz/td/' + url 'https://euandreh.xyz/td.git/snapshot/td-c9d881f67918c6b098d868e0df6c8837632d0d93.tar.gz' + sha256 'a59f0005c5be9a87d42824a39c3bc74771c6ebd905bab7216a270ecdb328dad4' license 'AGPL-3.0-or-later' - depends_on 'm4' => :build - def install system 'make' system 'make', 'check' diff --git a/default.nix b/default.nix index 7de8e4f..eeb89ba 100644 --- a/default.nix +++ b/default.nix @@ -3,25 +3,24 @@ self: super: { xyz-euandreh = { td-latest = pkgs.stdenv.mkDerivation rec { name = "td"; - version = "90f2352c78b921c50f4c8547baa609c272248c30"; + version = "c9d881f67918c6b098d868e0df6c8837632d0d93"; src = fetchTarball { url = "https://euandreh.xyz/${name}.git/snapshot/${name}-${version}.tar.gz"; - sha256 = "0r5jx6gjmh7wr3hicd16ih9qap3zhd2sjh573apx84baqg5w420w"; + sha256 = "0cbppagm41jk5cbyjsp49q11dkw96r2h90ja6h0zh3dadl0wfm4d"; }; makeFlags = [ "PREFIX=$(out)" ]; - checkInputs = with pkgs; [ m4 ]; doCheck = true; meta = with pkgs.lib; { description = readFile "${src}/description"; longDescription = readFile "${src}/long-description"; - homepage = "https://${name}.euandreh.xyz"; - changelog = "https://${name}.euandreh.xyz/CHANGELOG.html"; - downloadPage = "https://${name}.euandreh.xyz/#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; }; @@ -3,12 +3,9 @@ { "name": "td", "suffix": "-latest", - "version": "90f2352c78b921c50f4c8547baa609c272248c30", + "version": "c9d881f67918c6b098d868e0df6c8837632d0d93", "type": "bin", - "description": "Minimalistic bug tracker CLI", - "check_inputs": [ - "m4" - ] + "description": "Minimalistic bug tracker CLI" } ], "queue": [ @@ -24,20 +21,14 @@ "suffix": "", "version": "0.3.1", "type": "bin", - "description": "Git extension to generate web permalinks of files in a repository", - "check_inputs": [ - "m4" - ] + "description": "Git extension to generate web permalinks of files in a repository" }, { "name": "remembering", "suffix": "", "version": "0.2.1", "type": "bin", - "description": "Add memory to dmenu, fzf and similar tools.", - "check_inputs": [ - "m4" - ] + "description": "Add memory to dmenu, fzf and similar tools." } ] } diff --git a/src/xyz/euandreh/packages.scm b/src/xyz/euandreh/packages.scm index 6792cd2..2262427 100644 --- a/src/xyz/euandreh/packages.scm +++ b/src/xyz/euandreh/packages.scm @@ -15,7 +15,7 @@ (define-public td-latest (package (name "td-latest") - (version "90f2352c78b921c50f4c8547baa609c272248c30") + (version "c9d881f67918c6b098d868e0df6c8837632d0d93") (source (origin (method url-fetch) (uri (string-append @@ -24,10 +24,8 @@ ".tar.gz")) (sha256 (base32 - "06k5hpxhly8nlniqrr2z5z4v1v4wyazf207v8w3rr25wwmxwl93f")))) + "1m6s52rws3i7d8hvgfh5v7mwcwa7qwxrr8r453a8g6myql2h17x5")))) (build-system gnu-build-system) - (inputs - `(("m4" ,(specification->package "m4")))) (arguments `(#:make-flags (list (string-append "PREFIX=" %output)) #:phases @@ -35,7 +33,7 @@ (delete 'configure)))) (synopsis (file-append source "/description")) (description (file-append source "/long-description")) - (home-page (string-append "https://" name ".euandreh.xyz")) + (home-page (string-append "https://euandreh.xyz/" name "/")) (license license:agpl3+))) (list |