mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-09 14:33:22 +00:00
45 lines
910 B
Nix
45 lines
910 B
Nix
{
|
|
stdenvNoCC,
|
|
lib,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
meson,
|
|
ninja,
|
|
sassc,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
|
pname = "adw-gtk3";
|
|
version = "5.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lassekongo83";
|
|
repo = "adw-gtk3";
|
|
rev = "v${finalAttrs.version}";
|
|
sha256 = "sha256-WW6lJmGNn+e0jXu319SSX6e6POWfdgsIeg/U1vmwy1U=";
|
|
};
|
|
|
|
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 { };
|
|
};
|
|
|
|
meta = {
|
|
description = "Theme from libadwaita ported to GTK-3";
|
|
homepage = "https://github.com/lassekongo83/adw-gtk3";
|
|
license = lib.licenses.lgpl21Only;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = with lib.maintainers; [ ciferkey ];
|
|
};
|
|
})
|