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

43 lines
808 B
Nix
Raw Normal View History

{ lib, stdenv
, fetchFromGitHub
, nix-update-script
, pantheon
, meson
, ninja
, gettext
}:
2018-08-20 22:31:18 +02:00
stdenv.mkDerivation rec {
pname = "elementary-gtk-theme";
version = "5.4.2";
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;
2020-09-04 01:43:09 +02:00
sha256 = "sha256-eE0/LLdnpxOpBvdpioGKV/DOQ5lIuQt9dPnhGkQDGCs=";
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
];
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 = pantheon.maintainers;
};
}