mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-12 06:19:00 +00:00
gradience: 0.1.0 -> unstable-2022-08-20
Also `adwcustomizer` has been renamed into `gradience` to catch up with the upstream.
This commit is contained in:
parent
d72ba34265
commit
2ad681bc46
@ -1,16 +0,0 @@
|
|||||||
diff --git a/src/main.py b/src/main.py
|
|
||||||
index 8aadfe0..d2c5d4c 100644
|
|
||||||
--- a/src/main.py
|
|
||||||
+++ b/src/main.py
|
|
||||||
@@ -369,5 +369,10 @@ class AdwcustomizerApplication(Adw.Application):
|
|
||||||
|
|
||||||
def main(version):
|
|
||||||
"""The application's entry point."""
|
|
||||||
- app = AdwcustomizerApplication(version)
|
|
||||||
+ if not os.getenv("XDG_CONFIG_HOME"):
|
|
||||||
+ os.environ["XDG_CONFIG_HOME"] = os.path.expanduser("~/.config")
|
|
||||||
+ app_config = os.path.join(os.environ["XDG_CONFIG_HOME"], "adwcustomizer")
|
|
||||||
+ os.makedirs(app_config, exist_ok=True)
|
|
||||||
+
|
|
||||||
+ app = AdwcustomizerApplication(version)
|
|
||||||
return app.run(sys.argv)
|
|
@ -6,7 +6,6 @@ let
|
|||||||
packages = self:
|
packages = self:
|
||||||
let callPackage = newScope self;
|
let callPackage = newScope self;
|
||||||
in rec {
|
in rec {
|
||||||
adwcustomizer = callPackage ./adwcustomizer { libadwaita = libadwaita-latest; };
|
|
||||||
artem = callPackage ./artem.nix { };
|
artem = callPackage ./artem.nix { };
|
||||||
auto-editor = callPackage ./auto-editor.nix { };
|
auto-editor = callPackage ./auto-editor.nix { };
|
||||||
awesome-cli = callPackage ./awesome-cli { };
|
awesome-cli = callPackage ./awesome-cli { };
|
||||||
@ -26,6 +25,7 @@ let
|
|||||||
callPackage ./gnome-shell-extension-fly-pie.nix { };
|
callPackage ./gnome-shell-extension-fly-pie.nix { };
|
||||||
gnome-shell-extension-pop-shell =
|
gnome-shell-extension-pop-shell =
|
||||||
callPackage ./gnome-shell-extension-pop-shell.nix { };
|
callPackage ./gnome-shell-extension-pop-shell.nix { };
|
||||||
|
gradience = callPackage ./gradience { libadwaita = libadwaita-latest; };
|
||||||
guile-config = callPackage ./guile-config.nix { };
|
guile-config = callPackage ./guile-config.nix { };
|
||||||
guile-hall = callPackage ./guile-hall.nix { };
|
guile-hall = callPackage ./guile-hall.nix { };
|
||||||
hush-shell = callPackage ./hush-shell.nix { };
|
hush-shell = callPackage ./hush-shell.nix { };
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
, glib
|
, glib
|
||||||
, desktop-file-utils
|
, desktop-file-utils
|
||||||
, gettext
|
, gettext
|
||||||
|
, librsvg
|
||||||
, blueprint-compiler
|
, blueprint-compiler
|
||||||
, python3Packages
|
, python3Packages
|
||||||
, appstream-glib
|
, appstream-glib
|
||||||
@ -16,60 +17,53 @@
|
|||||||
, libportal
|
, libportal
|
||||||
, libportal-gtk4
|
, libportal-gtk4
|
||||||
, gobject-introspection
|
, gobject-introspection
|
||||||
|
, python-material-color-utilities
|
||||||
}:
|
}:
|
||||||
|
|
||||||
# Not all parts of the application works with the current nixpkgs version of
|
# Not all parts of the application works with the current nixpkgs version of
|
||||||
# libadwaita.
|
# libadwaita.
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "adwcustomizer";
|
pname = "adwcustomizer";
|
||||||
version = "0.1.0";
|
version = "unstable-2022-08-20";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "AdwCustomizerTeam";
|
owner = "AdwCustomizerTeam";
|
||||||
repo = "AdwCustomizer";
|
repo = "AdwCustomizer";
|
||||||
rev = version;
|
rev = "4ad3759a3cd7e034cd6c23fd5bfd2c2e1f3623ef";
|
||||||
sha256 = "sha256-3VHGk27MIgu+15OQeEmX8zfTCj/TtFtVv3Cf/iXxb/c=";
|
sha256 = "sha256-Z6fYAXr5HEoLxmlGfLToF7WXPoJGaQmLQHH7oG333Wo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
./patches/update-non-flatpak-env.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
format = "other";
|
format = "other";
|
||||||
dontWrapGApps = true;
|
dontWrapGApps = true;
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
python -m pip install $src/monet/*.whl --no-cache --no-index --no-warn-script-location --prefix="$out" $pipInstallFlags
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
wrapGAppsHook4
|
appstream-glib
|
||||||
|
blueprint-compiler
|
||||||
|
desktop-file-utils
|
||||||
|
gettext
|
||||||
|
glib
|
||||||
|
gobject-introspection
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
pkg-config
|
pkg-config
|
||||||
desktop-file-utils
|
wrapGAppsHook4
|
||||||
gettext
|
];
|
||||||
blueprint-compiler
|
|
||||||
|
buildInputs = [
|
||||||
gtk4
|
gtk4
|
||||||
];
|
|
||||||
|
|
||||||
propagatedNativeBuildInputs = [
|
|
||||||
gobject-introspection
|
|
||||||
appstream-glib
|
|
||||||
glib
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
|
||||||
libadwaita
|
libadwaita
|
||||||
libportal
|
libportal
|
||||||
libportal-gtk4
|
libportal-gtk4
|
||||||
] ++ (with python3Packages; [
|
librsvg
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python3Packages; [
|
||||||
pygobject3
|
pygobject3
|
||||||
anyascii
|
anyascii
|
||||||
pillow
|
|
||||||
pip
|
pip
|
||||||
regex
|
] ++ [
|
||||||
]);
|
python-material-color-utilities
|
||||||
|
];
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
Loading…
Reference in New Issue
Block a user