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

42 lines
795 B
Nix
Raw Normal View History

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