nixpkgs/pkgs/applications/networking/drive/default.nix

26 lines
602 B
Nix
Raw Normal View History

{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
2016-06-05 23:30:28 +02:00
buildGoPackage rec {
name = "drive-${version}";
version = "0.3.8.1";
2016-06-05 23:30:28 +02:00
goPackagePath = "github.com/odeke-em/drive";
subPackages = [ "cmd/drive" ];
src = fetchFromGitHub {
owner = "odeke-em";
repo = "drive";
rev = "v${version}";
sha256 = "1b9cgc148rg5irg4jas10zv9i2km75x1zin25hld340dmpjcpi82";
2016-06-05 23:30:28 +02:00
};
goDeps = ./deps.nix;
meta = with lib; {
homepage = https://github.com/odeke-em/drive;
description = "Google Drive client for the commandline";
license = licenses.asl20;
platforms = platforms.linux;
};
2016-06-05 23:30:28 +02:00
}