commit b283bd693a74b6a078a14b19a40298a29cbcb697
parent e6a7d45fcc8e751394b417d9a2ce3fc828f4df74
Author: Vincent Demeester <vincent@sbr.pm>
Date: Wed, 27 May 2020 19:29:51 +0200
govanityurl: unstable -> 0.1.0 😓
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/pkgs/govanityurl/default.nix b/pkgs/govanityurl/default.nix
@@ -1,16 +1,14 @@
-{ stdenv, lib, buildGoModule, fetchFromGitHub }:
+{ stdenv, lib, buildGoModule, fetchgit }:
buildGoModule rec {
pname = "govanityurl";
name = "${pname}-${version}";
- version = "unstable-2020-04-21";
- rev = "dc69709ad3d951c32263b4e43029d54e818e7d2b";
+ version = "0.1.0";
- src = fetchFromGitHub {
- inherit rev;
- owner = "vdemeester";
- repo = "vanityurl";
- sha256 = "0birf5y8j9s7s2ycqdx1rl0qivb93bkya4y25yigjyiclcgqp8a4";
+ src = fetchgit {
+ url = "https://git.sr.ht/~vdemeester/vanityurl";
+ rev = "v${version}";
+ sha256 = "05cj3760z3b7z6schp85hfmirfzwkgnx6big0b8j6d8wn9nls1zc";
};
modSha256 = "0s99bp9g1rfgrxmh9i94p2h8p68q93fk2799ifxd76r88f0f0hcn";
}