1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 meson,
6 ninja,
7 pkg-config,
8 sassc,
9 gdk-pixbuf,
10 librsvg,
11 gtk-engine-murrine,
12 gitUpdater,
13}:
14
15stdenv.mkDerivation rec {
16 pname = "greybird";
17 version = "3.23.4";
18
19 src = fetchFromGitHub {
20 owner = "shimmerproject";
21 repo = "greybird";
22 rev = "v${version}";
23 hash = "sha256-De8y+LRQ26UKrUECLCcbCg7p9Z+aRssQ/7YzegAUPw4=";
24 };
25
26 nativeBuildInputs = [
27 meson
28 ninja
29 pkg-config
30 sassc
31 ];
32
33 buildInputs = [
34 gdk-pixbuf
35 librsvg
36 ];
37
38 propagatedUserEnvPkgs = [
39 gtk-engine-murrine
40 ];
41
42 passthru.updateScript = gitUpdater { rev-prefix = "v"; };
43
44 meta = with lib; {
45 description = "Grey and blue theme from the Shimmer Project for GTK-based environments";
46 homepage = "https://github.com/shimmerproject/Greybird";
47 license = [ licenses.gpl2Plus ]; # or alternatively: cc-by-nc-sa-30 or later
48 platforms = platforms.linux;
49 maintainers = [ maintainers.romildo ];
50 };
51}