depot/third_party/nixpkgs/pkgs/desktops/gnome/misc/gnome-extensions-cli/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02: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;
};
}