nixpkgs/pkgs/desktops/gnome/misc/gnome-extensions-cli/default.nix
2024-07-07 08:30:16 +00:00

57 lines
1 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.2";
format = "pyproject";
src = fetchPypi {
pname = "gnome_extensions_cli";
inherit version;
hash = "sha256-AoZINsx2DhjcMwbllF3ypjo/y/3BjOFxcjZOyUGKp7c=";
};
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;
};
}