aboutsummaryrefslogtreecommitdiff
path: root/src/xyz/euandreh/latest.scm
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-05-09 16:14:19 -0300
committerEuAndreh <eu@euandre.org>2022-05-09 16:14:21 -0300
commit98899dddeb850ff6f67630632d96283a54858d96 (patch)
treea6fd4bc9177d6b282811d5a04cf40db7864deeda /src/xyz/euandreh/latest.scm
parentsrc/xyz/euandreh/docs.scm: Better filtering of RFC txt files (diff)
downloadpackage-repository-98899dddeb850ff6f67630632d96283a54858d96.tar.gz
package-repository-98899dddeb850ff6f67630632d96283a54858d96.tar.xz
src/xyz/euandreh/latest.scm: Use overriden version instead of transformation
The transformation route makes it check for the specific commit version on every build, instead of caching the result.
Diffstat (limited to 'src/xyz/euandreh/latest.scm')
-rw-r--r--src/xyz/euandreh/latest.scm20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/xyz/euandreh/latest.scm b/src/xyz/euandreh/latest.scm
index 7601e39..3b7a22b 100644
--- a/src/xyz/euandreh/latest.scm
+++ b/src/xyz/euandreh/latest.scm
@@ -1,16 +1,20 @@
(define-module (xyz euandreh latest)
- #:use-module (guix transformations)
+ #:use-module (guix git-download)
#:use-module (guix packages)
#:use-module (gnu packages bittorrent))
(define-public mktorrent-latest
- (let ((mktorrent-from-master
- ((options->transformation
- '((with-commit . "mktorrent=de7d011b35458de1472665f50b96c9cf6c303f39")))
- mktorrent)))
- (package
- (inherit mktorrent-from-master)
- (name "mktorrent-latest"))))
+ (package
+ (inherit mktorrent)
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/Rudde/mktorrent")
+ (commit "de7d011b35458de1472665f50b96c9cf6c303f39")))
+ (sha256
+ (base32 "1gsky1ijxrfsw07lvfjw4annjkdfpmnp8nnddi1wakbzqn6v5dwq"))))))
(list
mktorrent-latest)