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

43 lines
810 B
Nix
Raw Normal View History

{ stdenv
, fetchFromGitHub
, nix-update-script
, 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;
2020-09-04 00:43:09 +01:00
sha256 = "sha256-eE0/LLdnpxOpBvdpioGKV/DOQ5lIuQt9dPnhGkQDGCs=";
2018-08-20 21:31:18 +01:00
};
passthru = {
updateScript = nix-update-script {
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;
};
}