From 5fe1a2202578abda972b528773d75e44ee306310 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 22 Apr 2023 17:11:31 +0800 Subject: [PATCH] gradience: remove package It is available in nixpkgs now. --- pkgs/default.nix | 1 - pkgs/gradience/default.nix | 81 -------------------------------------- 2 files changed, 82 deletions(-) delete mode 100644 pkgs/gradience/default.nix diff --git a/pkgs/default.nix b/pkgs/default.nix index 0d51ec25..a61a8db9 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -33,7 +33,6 @@ let sha256 = "sha256-yPyomT+OmOe4mFJMNCq2FBgNHzuAvZ70itFA0s5BwV8="; }; }); - gradience = callPackage ./gradience { libadwaita = libadwaita-latest; }; guile-config = callPackage ./guile-config.nix { }; guile-hall = callPackage ./guile-hall.nix { }; gnome-info-collect = callPackage ./gnome-info-collect { }; diff --git a/pkgs/gradience/default.nix b/pkgs/gradience/default.nix deleted file mode 100644 index 4f65da5c..00000000 --- a/pkgs/gradience/default.nix +++ /dev/null @@ -1,81 +0,0 @@ -{ stdenv -, lib -, fetchFromGitHub -, wrapGAppsHook4 -, meson -, ninja -, pkg-config -, glib -, desktop-file-utils -, gettext -, librsvg -, blueprint-compiler -, python3Packages -, appstream-glib -, libadwaita -, libportal -, libportal-gtk4 -, gobject-introspection -, python-material-color-utilities -, sassc -}: - -# Not all parts of the application works with the current nixpkgs version of -# libadwaita. -python3Packages.buildPythonApplication rec { - pname = "gradience"; - version = "0.3.0"; - - src = fetchFromGitHub { - owner = "GradienceTeam"; - repo = "Gradience"; - rev = version; - sha256 = "sha256-mTRkuKqeHrLiohp4l8izaZhixIRei0peKQZOiXxna2Y="; - }; - - format = "other"; - dontWrapGApps = true; - - nativeBuildInputs = [ - appstream-glib - blueprint-compiler - desktop-file-utils - gettext - glib - gobject-introspection - meson - ninja - pkg-config - wrapGAppsHook4 - sassc - ]; - - buildInputs = [ - libadwaita - libportal - libportal-gtk4 - librsvg - ]; - - propagatedBuildInputs = with python3Packages; [ - anyascii - aiohttp - cssutils - jinja2 - pygobject3 - svglib - Yapsy - ] ++ [ - python-material-color-utilities - ]; - - preFixup = '' - makeWrapperArgs+=("''${gappsWrapperArgs[@]}") - ''; - - meta = with lib; { - homepage = "https://github.com/GradienceTeam/Gradience"; - description = "Customize libadwaita and GTK3 apps (with adw-gtk3)"; - license = licenses.mit; - }; -}