Skip to content

Commit

Permalink
adw-gtk3: init at 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
ciferkey authored and bobby285271 committed Sep 14, 2022
1 parent 32f8480 commit 79a0dd5
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
45 changes: 45 additions & 0 deletions pkgs/data/themes/adw-gtk3/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25297,6 +25297,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 { };
Expand Down

0 comments on commit 79a0dd5

Please sign in to comment.