Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub }:
2
3stdenv.mkDerivation rec {
4 pname = "Albatross";
5 version = "1.7.4";
6
7 src = fetchFromGitHub {
8 repo = "Albatross";
9 owner = "shimmerproject";
10 rev = "v${version}";
11 sha256 = "0mq87n2hxy44nzr567av24n5nqjaljhi1afxrn3mpjqdbkq7lx88";
12 };
13
14 dontBuild = true;
15
16 installPhase = ''
17 install -dm 755 $out/share/themes/Albatross
18 cp -dr --no-preserve='ownership' {LICENSE.GPL,README,index.theme,gtk-2.0,gtk-3.0,metacity-1,xfwm4} $out/share/themes/Albatross/
19 '';
20
21 meta = {
22 description = "A desktop Suite for Xfce";
23 homepage = "https://github.com/shimmerproject/Albatross";
24 license = lib.licenses.gpl2;
25 platforms = lib.platforms.unix;
26 };
27}