blob: 8d9553270906b6b8fcc65fad6a1a7a9bcd91b841 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{ lib
, rustPlatform
, fetchFromGitHub
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "gdrive";
version = "3.9.0";
src = fetchFromGitHub {
owner = "glotlabs";
repo = "gdrive";
rev = version;
hash = "sha256-vWd1sto89U2ZJWZZebPjrbMyBjZMs9buoPEPKocDVnY=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"google-apis-common-5.0.2" = "sha256-E4ON66waUzp4qqpVWTFBD0+M2V80YlYmsewEYZygTuE=";
};
};
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
meta = with lib; {
description = "Google Drive CLI Client";
homepage = "https://github.com/glotlabs/gdrive";
changelog = "https://github.com/glotlabs/gdrive/releases/tag/${src.rev}";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}
|