nixpkgs/pkgs/data/themes/adw-gtk3/default.nix
Alexis Hildebrandt f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00

44 lines
873 B
Nix

{ stdenvNoCC
, lib
, fetchFromGitHub
, nix-update-script
, meson
, ninja
, sassc
}:
stdenvNoCC.mkDerivation rec {
pname = "adw-gtk3";
version = "5.3";
src = fetchFromGitHub {
owner = "lassekongo83";
repo = pname;
rev = "v${version}";
sha256 = "sha256-DpJLX9PJX1Q8dDOx7YOXQzgNECsKp5uGiCVTX6iSlbI=";
};
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 = with lib; {
description = "Theme from libadwaita ported to GTK-3";
homepage = "https://github.com/lassekongo83/adw-gtk3";
license = licenses.lgpl21Only;
platforms = platforms.unix;
maintainers = with maintainers; [ ciferkey ];
};
}