gnome-extensions-cli: migrate to by-name, use pep517 & finalAttrs
This commit is contained in:
+15
-19
@@ -1,32 +1,24 @@
|
||||
{
|
||||
lib,
|
||||
fetchPypi,
|
||||
buildPythonApplication,
|
||||
poetry-core,
|
||||
colorama,
|
||||
packaging,
|
||||
pydantic,
|
||||
requests,
|
||||
pygobject3,
|
||||
tqdm,
|
||||
python3Packages,
|
||||
gobject-introspection,
|
||||
wrapGAppsNoGuiHook,
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "gnome-extensions-cli";
|
||||
version = "0.10.8";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "gnome_extensions_cli";
|
||||
inherit version;
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-Tnf8BbW9u7d19ZtGTdMVHa6azbKekYRGOPEPNiB+y00=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gobject-introspection
|
||||
poetry-core
|
||||
wrapGAppsNoGuiHook
|
||||
];
|
||||
|
||||
@@ -35,13 +27,17 @@ buildPythonApplication rec {
|
||||
"packaging"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
colorama
|
||||
packaging
|
||||
pydantic
|
||||
requests
|
||||
pygobject3
|
||||
tqdm
|
||||
build-system = [
|
||||
python3Packages.poetry-core
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
python3Packages.colorama
|
||||
python3Packages.packaging
|
||||
python3Packages.pydantic
|
||||
python3Packages.requests
|
||||
python3Packages.pygobject3
|
||||
python3Packages.tqdm
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
@@ -55,4 +51,4 @@ buildPythonApplication rec {
|
||||
maintainers = with lib.maintainers; [ dylanmtaylor ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
})
|
||||
@@ -12067,8 +12067,6 @@ with pkgs;
|
||||
gnome49Extensions
|
||||
;
|
||||
|
||||
gnome-extensions-cli = python3Packages.callPackage ../desktops/gnome/misc/gnome-extensions-cli { };
|
||||
|
||||
gnome-session-ctl = callPackage ../by-name/gn/gnome-session/ctl.nix { };
|
||||
|
||||
lomiri = recurseIntoAttrs (callPackage ../desktops/lomiri { });
|
||||
|
||||
Reference in New Issue
Block a user