Merge pull request #238860 from figsoda/gdrive

This commit is contained in:
figsoda
2023-06-22 11:37:27 -04:00
committed by GitHub
3 changed files with 1808 additions and 0 deletions
File diff suppressed because it is too large Load Diff
@@ -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 ];
};
}
+2
View File
@@ -5110,6 +5110,8 @@ with pkgs;
gdrive = callPackage ../applications/networking/gdrive { };
gdrive3 = callPackage ../applications/networking/gdrive3 { };
gdu = callPackage ../tools/system/gdu { };
gfxreconstruct = callPackage ../tools/graphics/gfxreconstruct { };