diff options
author | Felix Buehler <account@buehler.rocks> | 2022-03-15 11:27:23 +0100 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2022-03-16 23:23:09 +0100 |
commit | afb9c15341303b7d28d9326b90bddff6c1182643 (patch) | |
tree | 950d1a90a38bd04a29f25e7ab89d1b47de34994e /pkgs/applications/version-management | |
parent | 27af61265b8fcfbd156360a93eed1417ab943ef3 (diff) |
git-annex-remote-b2: switch to fetchFromGitHub
Diffstat (limited to 'pkgs/applications/version-management')
-rw-r--r-- | pkgs/applications/version-management/git-and-tools/git-annex-remote-b2/default.nix | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/applications/version-management/git-and-tools/git-annex-remote-b2/default.nix b/pkgs/applications/version-management/git-and-tools/git-annex-remote-b2/default.nix index 6d3b65547330d..c32d29f2561a2 100644 --- a/pkgs/applications/version-management/git-and-tools/git-annex-remote-b2/default.nix +++ b/pkgs/applications/version-management/git-and-tools/git-annex-remote-b2/default.nix @@ -1,16 +1,16 @@ -{ lib, buildGoPackage, fetchgit }: +{ lib, buildGoPackage, fetchFromGitHub }: buildGoPackage rec { pname = "git-annex-remote-b2"; - version = "20151212-${lib.strings.substring 0 7 rev}"; - rev = "4db46b9fc9ef7b3f4851c2a6b061cb8f90f553ba"; + version = "unstable-2015-12-12"; goPackagePath = "github.com/encryptio/git-annex-remote-b2"; - src = fetchgit { - inherit rev; - url = "https://github.com/encryptio/git-annex-remote-b2"; - sha256 = "1139rzdvlj3hanqsccfinprvrzf4qjc5n4f0r21jp9j24yhjs6j2"; + src = fetchFromGitHub { + owner = "encryptio"; + repo = "git-annex-remote-b2"; + rev = "4db46b9fc9ef7b3f4851c2a6b061cb8f90f553ba"; + sha256 = "sha256-QhotoSdCpiuDyMARW5jExP2887XRMaaxVXBIutvPaYQ="; }; goDeps = ./deps.nix; |