about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/version-management/git-and-tools/git-annex-remote-b2/default.nix
blob: 55a9dd18f720e41289922284db0d13720d63743e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ stdenv, buildGoPackage, fetchgit }:

buildGoPackage rec {
  pname = "git-annex-remote-b2";
  version = "20151212-${stdenv.lib.strings.substring 0 7 rev}";
  rev = "4db46b9fc9ef7b3f4851c2a6b061cb8f90f553ba";

  goPackagePath = "github.com/encryptio/git-annex-remote-b2";

  src = fetchgit {
    inherit rev;
    url = "https://github.com/encryptio/git-annex-remote-b2";
    sha256 = "1139rzdvlj3hanqsccfinprvrzf4qjc5n4f0r21jp9j24yhjs6j2";
  };

  goDeps = ./deps.nix;
}