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

View File

@ -11626,20 +11626,6 @@ with pkgs;
patches = config."2bwm".patches or [ ]; 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 { }) inherit (qt6Packages.callPackage ../applications/office/activitywatch { })
aw-qt aw-qt
aw-notify aw-notify