nixpkgs/pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix
2021-11-24 21:02:53 +08:00

46 lines
829 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, nix-update-script
, pantheon
, meson
, ninja
, gettext
, sassc
}:
stdenv.mkDerivation rec {
pname = "elementary-gtk-theme";
version = "6.1.1";
repoName = "stylesheet";
src = fetchFromGitHub {
owner = "elementary";
repo = repoName;
rev = version;
sha256 = "sha256-gciBn5MQ5Cu+dROL5kCt2GCbNA7W4HOWXyjMBd4OP+8=";
};
nativeBuildInputs = [
gettext
meson
ninja
sassc
];
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
};
};
meta = with lib; {
description = "GTK theme designed to be smooth, attractive, fast, and usable";
homepage = "https://github.com/elementary/stylesheet";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = teams.pantheon.members;
};
}