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

43 lines
811 B
Nix
Raw Normal View History

{ stdenv
, fetchFromGitHub
, nix-update-script
, pantheon
, meson
, ninja
, gettext
}:
2018-08-20 20:31:18 +00:00
stdenv.mkDerivation rec {
pname = "elementary-gtk-theme";
version = "5.4.2";
2018-08-20 20:31:18 +00:00
repoName = "stylesheet";
2018-08-20 20:31:18 +00:00
src = fetchFromGitHub {
owner = "elementary";
repo = repoName;
2018-08-20 20:31:18 +00:00
rev = version;
sha256 = "0aqq0d21mqgrfiyhpfa8k51wxw2pia0qlsgp0sli79v7nwn3ykbq";
2018-08-20 20:31:18 +00:00
};
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
2018-08-20 20:31:18 +00:00
};
};
nativeBuildInputs = [
gettext
2018-08-20 20:31:18 +00: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 20:31:18 +00:00
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = pantheon.maintainers;
};
}