nixpkgs/pkgs/desktops/gnome/misc/gnome-extensions-cli/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

60 lines
1.1 KiB
Nix
Raw Normal View History

2023-04-05 01:30:02 +00:00
{ lib
, fetchPypi
, buildPythonApplication
2024-03-12 02:02:24 +00:00
, pythonRelaxDepsHook
2023-04-05 01:30:02 +00:00
, poetry-core
, colorama
, packaging
, pydantic
2023-04-05 01:30:02 +00:00
, requests
, pygobject3
, tqdm
2023-04-05 01:30:02 +00:00
, gobject-introspection
, wrapGAppsNoGuiHook
}:
buildPythonApplication rec {
pname = "gnome-extensions-cli";
version = "0.10.1";
2023-04-05 01:30:02 +00:00
format = "pyproject";
src = fetchPypi {
pname = "gnome_extensions_cli";
inherit version;
hash = "sha256-yAoo3NjNtTZSHmbLKzW2X7Cy2smLNp8/9vo+OPGxlVY=";
2023-04-05 01:30:02 +00:00
};
nativeBuildInputs = [
gobject-introspection
poetry-core
wrapGAppsNoGuiHook
2024-03-12 02:02:24 +00:00
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"more-itertools"
"packaging"
2023-04-05 01:30:02 +00:00
];
propagatedBuildInputs = [
colorama
packaging
pydantic
2023-04-05 01:30:02 +00:00
requests
pygobject3
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;
};
}