nixpkgs/pkgs/misc/themes/albatross/default.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

28 lines
732 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "Albatross-${version}";
version = "1.7.4";
src = fetchFromGitHub {
repo = "Albatross";
owner = "shimmerproject";
rev = "v${version}";
sha256 = "0mq87n2hxy44nzr567av24n5nqjaljhi1afxrn3mpjqdbkq7lx88";
};
dontBuild = true;
installPhase = ''
install -dm 755 $out/share/themes/Albatross
cp -dr --no-preserve='ownership' {LICENSE.GPL,README,index.theme,gtk-2.0,gtk-3.0,metacity-1,xfwm4} $out/share/themes/Albatross/
'';
meta = {
description = "A desktop Suite for Xfce";
homepage = http://shimmerproject.org/our-projects/albatross/;
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
};
}