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

45 lines
829 B
Nix
Raw Normal View History

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