Commit 9771ce707576

Vincent Demeester <vincent@sbr.pm>
2020-09-16 12:14:14
pkgs: update ape, nr and ram
- from github.com to git.sr.ht - update tags Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 356b2de
Changed files (3)
pkgs/ape/default.nix
@@ -1,22 +1,21 @@
-{ stdenv, lib, buildGoModule, fetchFromGitHub }:
+{ stdenv, lib, buildGoModule, fetchgit }:
 
 buildGoModule rec {
   name = "ape-${version}";
-  version = "0.4.1";
+  version = "0.4.2";
   rev = "v${version}";
 
-  src = fetchFromGitHub {
+  src = fetchgit {
     inherit rev;
-    owner = "vdemeester";
-    repo = "ape";
-    sha256 = "1kh7fi7j65cd8qi5qis38bla4lzbzy0ic18cxcjnd04q1zjqzi2i";
+    url = "https://git.sr.ht/~vdemeester/ape";
+    sha256 = "0f2rfmpqy66ris4gqh58dr9qvz8fmskldh41kpniy5vr0jxqf3av";
   };
   vendorSha256 = "1zanxsbxhm0dpk2q94fp2rx2x1i8r3j28piz86k3k4vvqnykyvj1";
   modSha256 = "${vendorSha256}";
 
   meta = {
     description = "a git mirror *upstream* updater ";
-    homepage = "https://github.com/vdemeester/ape";
+    homepage = "https://git.sr.ht/~vdemeester/ape";
     license = lib.licenses.asl20;
   };
 }
pkgs/nr/default.nix
@@ -1,22 +1,21 @@
-{ stdenv, lib, buildGoModule, fetchFromGitHub }:
+{ stdenv, lib, buildGoModule, fetchgit }:
 
 buildGoModule rec {
   name = "nr-${version}";
-  version = "0.4.0";
+  version = "0.5.0";
   rev = "v${version}";
 
-  src = fetchFromGitHub {
+  src = fetchgit {
     inherit rev;
-    owner = "vdemeester";
-    repo = "nr";
-    sha256 = "1n6plmypw6iz0q1gs4i8rwsmkvx0bwgzpzmrr4qirpfpcyb4av2z";
+    url = "https://git.sr.ht/~vdemeester/nr";
+    sha256 = "0b8y5wsy8f0r9aspn1045nrpkph9kbh6754m2kkyx4i9zjhgnqjp";
   };
   vendorSha256 = "17cz2gahs1j9vd9nqg36q2q04xq24gd2pyvivxkjhqgmq2fcpl17";
   modSha256 = "${vendorSha256}";
 
   meta = {
     description = "a nix run alias generator";
-    homepage = "https://github.com/vdemeester/nr";
+    homepage = "https://git.sr.ht/~vdemeester/nr";
     license = lib.licenses.asl20;
   };
 }
pkgs/ram/default.nix
@@ -1,22 +1,21 @@
-{ stdenv, lib, buildGoModule, fetchFromGitHub }:
+{ stdenv, lib, buildGoModule, fetchgit }:
 
 buildGoModule rec {
   name = "ram-${version}";
-  version = "0.3.0";
+  version = "0.3.1";
   rev = "v${version}";
 
-  src = fetchFromGitHub {
+  src = fetchgit {
     inherit rev;
-    owner = "vdemeester";
-    repo = "ram";
-    sha256 = "1lnxscq6lfli09yq5raj2gyg7fss4a8m99nd6f1izm84xn0n0lji";
+    url = "https://git.sr.ht/~vdemeester/ram";
+    sha256 = "1xmx4dc30din9cwl7c0zz9pvdzk9mirvps8m89xfrkmcj5h8k8rr";
   };
-  vendorSha256 = "1rynwivgc9ilsixri8vcxss20j8wpns1jw9g0k37lgdqx88wpl9y";
+  vendorSha256 = "16b2061x0z83c4j59fxm1hhzr9akq1y2lbpiqdh139sqy6l6h7df";
   modSha256 = "${vendorSha256}";
 
   meta = {
     description = "A golang opiniated continuous testing tool ๐Ÿ";
-    homepage = "https://github.com/vdemeester/ram";
+    homepage = "https://git.sr.ht/~vdemeester/ram";
     license = lib.licenses.asl20;
   };
 }