about summary refs log tree commit diff
path: root/pkgs/applications/networking/drive/default.nix
blob: 3b64d7af43bbde88597b3c4d581caf2712e765c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:

buildGoPackage rec {
  name = "drive-${version}";
  version = "20151025-${stdenv.lib.strings.substring 0 7 rev}";
  rev = "6dc2f1e83032ea3911fa6147b846ee93f18dc544";

  goPackagePath = "github.com/odeke-em/drive";
  subPackages = [ "cmd/drive" ];

  src = fetchgit {
    inherit rev;
    url = "https://github.com/odeke-em/drive";
    sha256 = "07s4nhfcr6vznf1amvl3a4wq2hn9zq871rcppfi4i6zs7iw2ay1v";
  };

  goDeps = ./deps.json;
}