parent
b9a0e58487
commit
0ac4a39aad
3 changed files with 1808 additions and 0 deletions
1769
pkgs/applications/networking/gdrive3/Cargo.lock
generated
Normal file
1769
pkgs/applications/networking/gdrive3/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
37
pkgs/applications/networking/gdrive3/default.nix
Normal file
37
pkgs/applications/networking/gdrive3/default.nix
Normal file
|
@ -0,0 +1,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 ];
|
||||
};
|
||||
}
|
|
@ -5106,6 +5106,8 @@ with pkgs;
|
|||
|
||||
gdrive = callPackage ../applications/networking/gdrive { };
|
||||
|
||||
gdrive3 = callPackage ../applications/networking/gdrive3 { };
|
||||
|
||||
gdu = callPackage ../tools/system/gdu { };
|
||||
|
||||
gfxreconstruct = callPackage ../tools/graphics/gfxreconstruct { };
|
||||
|
|
Loading…
Reference in a new issue