diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 80b7e04371bc..69072e914f47 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -2443,6 +2443,12 @@ githubId = 42220376; name = "Charlotte Van Petegem"; }; + ciferkey = { + name = "Matthew Brunelle"; + email = "ciferkey@gmail.com"; + github = "ciferkey"; + githubId = 101422; + }; cigrainger = { name = "Christopher Grainger"; email = "chris@amplified.ai"; diff --git a/pkgs/data/themes/adw-gtk3/default.nix b/pkgs/data/themes/adw-gtk3/default.nix new file mode 100644 index 000000000000..f88c11388c79 --- /dev/null +++ b/pkgs/data/themes/adw-gtk3/default.nix @@ -0,0 +1,45 @@ +{ stdenvNoCC +, lib +, fetchFromGitHub +, nix-update-script +, meson +, ninja +, sassc +}: + +stdenvNoCC.mkDerivation rec { + pname = "adw-gtk3"; + version = "3.7"; + + src = fetchFromGitHub { + owner = "lassekongo83"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-hHmNRPUJOXa//aKgAYhGBVX6usRsObWbzcfOa1uwbqM="; + }; + + nativeBuildInputs = [ + meson + ninja + sassc + ]; + + postPatch = '' + chmod +x gtk/src/adw-gtk3-dark/gtk-3.0/install-dark-theme.sh + patchShebangs gtk/src/adw-gtk3-dark/gtk-3.0/install-dark-theme.sh + ''; + + passthru = { + updateScript = nix-update-script { + attrPath = pname; + }; + }; + + meta = with lib; { + description = "The theme from libadwaita ported to GTK-3"; + homepage = "https://github.com/lassekongo83/adw-gtk3"; + license = licenses.lgpl21Only; + platforms = platforms.linux; + maintainers = with maintainers; [ ciferkey ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c094df38748b..ae9b43e59c3d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -25301,6 +25301,8 @@ with pkgs; adwaita-qt = libsForQt5.callPackage ../data/themes/adwaita-qt { }; + adw-gtk3 = callPackage ../data/themes/adw-gtk3 { }; + agave = callPackage ../data/fonts/agave { }; aileron = callPackage ../data/fonts/aileron { };