12 src = fetchFromGitHub {
16 hash = "sha256-r3pYDBE1YaKuFdxxpDVcMGfX5vOLt4xh3eY0fgLIGk0=";
19 vendorHash = "sha256-/w1uo3SmCUjKp1FcB2NfhrFCLh5zCP+6uf03uwb+SvU=";
24 "-X main.version=${version}"
27 doInstallCheck = true;
29 installCheckPhase = ''
30 runHook preInstallCheck
32 $out/bin/files-cli --help
34 runHook postInstallCheck
38 version = testers.testVersion {
40 command = "files-cli -v";
41 version = "files-cli version ${version}";
46 description = "Files.com Command Line App for Windows, Linux, and macOS";
47 homepage = "https://developers.files.com";
48 license = licenses.mit;
49 maintainers = with maintainers; [ kashw2 ];
50 mainProgram = "files-cli";