acd-cli: migrate to by-name (#428863)

acd_cli: migrate to by-name

acd_cli: refactor package definitions

acd_cli: fix accidental rename of acd-cli
This commit is contained in:
guylamar2006 2025-08-03 12:23:26 -05:00 committed by GitHub
parent e1503d0635
commit 9098504c37
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 32 deletions

View File

@ -1,20 +1,12 @@
{
lib,
fetchFromGitHub,
buildPythonApplication,
fuse,
appdirs,
colorama,
python-dateutil,
requests,
requests-toolbelt,
fusepy,
sqlalchemy,
setuptools,
python3Packages,
}:
buildPythonApplication rec {
pname = "acd_cli";
python3Packages.buildPythonApplication rec {
pname = "acd-cli";
version = "0.3.2";
format = "setuptools";
@ -22,12 +14,12 @@ buildPythonApplication rec {
src = fetchFromGitHub {
owner = "yadayada";
repo = pname;
rev = version;
sha256 = "0a0fr632l24a3jmgla3b1vcm50ayfa9hdbp677ch1chwj5dq4zfp";
repo = "acd_cli";
tag = version;
hash = "sha256-132CW5EcsgDZOeauBpNyXoFS2Q5rKPqqHIoIKobJDig=";
};
propagatedBuildInputs = [
dependencies = with python3Packages; [
appdirs
colorama
python-dateutil
@ -50,10 +42,10 @@ buildPythonApplication rec {
lnOverBin acd_cli.py acdcli
'';
meta = with lib; {
meta = {
description = "Command line interface and FUSE filesystem for Amazon Cloud Drive";
homepage = "https://github.com/yadayada/acd_cli";
license = licenses.gpl2;
maintainers = with maintainers; [ edwtjo ];
license = lib.licenses.gpl2;
maintainers = with lib.maintainers; [ edwtjo ];
};
}

View File

@ -11626,20 +11626,6 @@ with pkgs;
patches = config."2bwm".patches or [ ];
};
acd-cli = callPackage ../applications/networking/sync/acd_cli {
inherit (python3Packages)
buildPythonApplication
appdirs
colorama
python-dateutil
requests
requests-toolbelt
setuptools
sqlalchemy
fusepy
;
};
inherit (qt6Packages.callPackage ../applications/office/activitywatch { })
aw-qt
aw-notify