about summary refs log tree commit diff
path: root/nixpkgs/pkgs/data/themes/snowblind/default.nix
blob: db7b34d78e7617ac248a79539eac27291c28e400 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ stdenv, fetchFromGitLab, gtk-engine-murrine }:

stdenv.mkDerivation rec {
  pname = "snowblind";
  version = "2020-02-26";

  src = fetchFromGitLab {
    domain = "www.opencode.net";
    owner = "ju1464";
    repo = pname;
    rev = "94c35410be5cccc142c9cd6be9dff973ce0761c4";
    sha256 = "1aqmpg1vyqwp6s6iikp5c5yfrvdkzq75jdr9mmv2ijcam1g0jhnv";
  };

  propagatedUserEnvPkgs = [ gtk-engine-murrine ];

  installPhase = ''
    mkdir -p $out/share/themes
    cp -a Snowblind* $out/share/themes
    rm $out/share/themes/*/{COPYING,CREDITS}
  '';

  meta = with stdenv.lib; {
    description = "Smooth blue theme based on Materia Design";
    homepage = "https://www.opencode.net/ju1464/Snowblind";
    license = licenses.gpl3;
    platforms = platforms.unix;
    maintainers = [ maintainers.romildo ];
  };
}