fix(3p/lisp/puri): Use fetchgit for source, update version

Something changed in the upstream we fetch this source from that's
causing the fetch to fail - I can only assume it's a yanked rev, but
I'm not really sure. fetchgit from nixpkgs appears to be a little bit
more robust than builtins.fetchGit, so let's switch to that, and also
upgrade to a rev that we know is present.

Fixes: b/96
Change-Id: I8983c2df11ab4fa20f60915f950c6a7378efd2fd
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2691
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
Griffin Smith 2021-03-27 12:05:54 -04:00 committed by glittershark
parent 03a2616ccb
commit 4a17fe5922

View file

@ -1,9 +1,10 @@
# Portable URI library # Portable URI library
{ depot, ... }: { depot, ... }:
let src = builtins.fetchGit { let src = depot.third_party.fetchgit {
url = "http://git.kpe.io/puri.git"; url = "http://git.kpe.io/puri.git";
rev = "ef5afb9e5286c8e952d4344f019c1a636a717b97"; rev = "4bbab89d9ccbb26346899d1f496c97604fec567b";
sha256 = "0gq2rsr0aihs0z20v4zqvmdl4szq53b52rh97pvnmwrlbn4mapmd";
}; };
in depot.nix.buildLisp.library { in depot.nix.buildLisp.library {
name = "puri"; name = "puri";
@ -11,5 +12,3 @@ in depot.nix.buildLisp.library {
(src + "/src.lisp") (src + "/src.lisp")
]; ];
} }