59 lines
1.0 KiB
Nix
59 lines
1.0 KiB
Nix
|
|
{
|
||
|
|
lib,
|
||
|
|
fetchPypi,
|
||
|
|
buildPythonApplication,
|
||
|
|
poetry-core,
|
||
|
|
colorama,
|
||
|
|
packaging,
|
||
|
|
pydantic,
|
||
|
|
requests,
|
||
|
|
pygobject3,
|
||
|
|
tqdm,
|
||
|
|
gobject-introspection,
|
||
|
|
wrapGAppsNoGuiHook,
|
||
|
|
}:
|
||
|
|
|
||
|
|
buildPythonApplication rec {
|
||
|
|
pname = "gnome-extensions-cli";
|
||
|
|
version = "0.10.6";
|
||
|
|
format = "pyproject";
|
||
|
|
|
||
|
|
src = fetchPypi {
|
||
|
|
pname = "gnome_extensions_cli";
|
||
|
|
inherit version;
|
||
|
|
hash = "sha256-REsdgsHPYBms+qbOF4ogV8D/xi5fC9ogl+HOvnsXi7o=";
|
||
|
|
};
|
||
|
|
|
||
|
|
nativeBuildInputs = [
|
||
|
|
gobject-introspection
|
||
|
|
poetry-core
|
||
|
|
wrapGAppsNoGuiHook
|
||
|
|
];
|
||
|
|
|
||
|
|
pythonRelaxDeps = [
|
||
|
|
"more-itertools"
|
||
|
|
"packaging"
|
||
|
|
];
|
||
|
|
|
||
|
|
propagatedBuildInputs = [
|
||
|
|
colorama
|
||
|
|
packaging
|
||
|
|
pydantic
|
||
|
|
requests
|
||
|
|
pygobject3
|
||
|
|
tqdm
|
||
|
|
];
|
||
|
|
|
||
|
|
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;
|
||
|
|
};
|
||
|
|
}
|