depot/third_party/nixpkgs/pkgs/desktops/gnome/misc/gnome-extensions-cli/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

52 lines
1,002 B
Nix

{ lib
, fetchPypi
, buildPythonApplication
, poetry-core
, colorama
, more-itertools
, packaging
, pydantic
, requests
, pygobject3
, gobject-introspection
, wrapGAppsNoGuiHook
}:
buildPythonApplication rec {
pname = "gnome-extensions-cli";
version = "0.9.5";
format = "pyproject";
src = fetchPypi {
pname = "gnome_extensions_cli";
inherit version;
hash = "sha256-4eRVmG5lqK8ql9WpvXsf18znOt7kDSnpQnLfy73doy4=";
};
nativeBuildInputs = [
gobject-introspection
poetry-core
wrapGAppsNoGuiHook
];
propagatedBuildInputs = [
colorama
more-itertools
packaging
pydantic
requests
pygobject3
];
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;
};
}