Summary Files Commits Branches @commit @diff @stats
path: root / packages / openbox-theme-collections / default.nix
blob: 962f33d433a7d5d4b0489c9f0f782e666dd57878 (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
{ lib, stdenvNoCC, fetchFromGitHub, ...}:
stdenvNoCC.mkDerivation rec {
  pname = "openbox-theme-collections";
  version = "1.0.0";

  src = fetchFromGitHub {
    owner = "addy-dclxvi";
    repo = "openbox-theme-collections";
    rev = "8bdf5decb25c9867d11011f386453380fc908121";
    sha256 = "sha256-aC6AA09S/NE74fFNQXK8R/AVA3w4JWKjhcgEkCtGGdk=";
  };

  dontBuild = true;

  installPhase = ''
    mkdir -p $out/share/themes
    find . ! -name . -prune -type d -exec mv {} $out/share/themes \;
  '';

  meta = with lib; {
    description = "Addy's Openbox theme collections";
    homepage = "https://github.com/addy-dclxvi/openbox-theme-collections";
    license = licenses.gpl3;
    platforms = platforms.linux;
    maintainers = with maintainers; [ syndamia ];
  };
}