nixpkgs/pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
900 B
Nix
Raw Normal View History

{
lib,
stdenvNoCC,
fetchFromGitHub,
nix-update-script,
gettext,
meson,
ninja,
python3,
sassc,
}:
2018-08-20 20:31:18 +00:00
stdenvNoCC.mkDerivation rec {
pname = "elementary-gtk-theme";
version = "8.2.0";
2018-08-20 20:31:18 +00:00
src = fetchFromGitHub {
owner = "elementary";
repo = "stylesheet";
2018-08-20 20:31:18 +00:00
rev = version;
sha256 = "sha256-l7E5o7JNqfJZzKpyvsjIVd2i9fwLh4Qn8oJ/S5RlFQ8=";
2018-08-20 20:31:18 +00:00
};
nativeBuildInputs = [
gettext
2018-08-20 20:31:18 +00:00
meson
ninja
python3
sassc
2018-08-20 20:31:18 +00:00
];
postPatch = ''
chmod +x meson/install-to-dir.py
patchShebangs meson/install-to-dir.py
'';
passthru = {
updateScript = nix-update-script { };
};
meta = with lib; {
2018-08-20 20:31:18 +00:00
description = "GTK theme designed to be smooth, attractive, fast, and usable";
homepage = "https://github.com/elementary/stylesheet";
license = licenses.gpl3Plus;
2018-08-20 20:31:18 +00:00
platforms = platforms.linux;
maintainers = teams.pantheon.members;
2018-08-20 20:31:18 +00:00
};
}