2023-04-05 01:30:02 +00:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonApplication
|
|
|
|
, poetry-core
|
|
|
|
, colorama
|
|
|
|
, packaging
|
2024-03-20 06:25:47 +00:00
|
|
|
, pydantic
|
2023-04-05 01:30:02 +00:00
|
|
|
, requests
|
|
|
|
, pygobject3
|
2024-01-30 18:23:16 +00:00
|
|
|
, tqdm
|
2023-04-05 01:30:02 +00:00
|
|
|
, gobject-introspection
|
|
|
|
, wrapGAppsNoGuiHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "gnome-extensions-cli";
|
2024-07-07 08:30:16 +00:00
|
|
|
version = "0.10.2";
|
2023-04-05 01:30:02 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "gnome_extensions_cli";
|
|
|
|
inherit version;
|
2024-07-07 08:30:16 +00:00
|
|
|
hash = "sha256-AoZINsx2DhjcMwbllF3ypjo/y/3BjOFxcjZOyUGKp7c=";
|
2023-04-05 01:30:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
gobject-introspection
|
|
|
|
poetry-core
|
|
|
|
wrapGAppsNoGuiHook
|
2024-03-12 02:02:24 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
pythonRelaxDeps = [
|
|
|
|
"more-itertools"
|
2024-03-27 17:23:06 +00:00
|
|
|
"packaging"
|
2023-04-05 01:30:02 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
colorama
|
|
|
|
packaging
|
2024-03-20 06:25:47 +00:00
|
|
|
pydantic
|
2023-04-05 01:30:02 +00:00
|
|
|
requests
|
|
|
|
pygobject3
|
2024-01-30 18:23:16 +00:00
|
|
|
tqdm
|
2023-04-05 01:30:02 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"gnome_extensions_cli"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/essembeh/gnome-extensions-cli";
|
|
|
|
description = "Command line tool to manage your GNOME Shell extensions";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ dylanmtaylor ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|