mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
30 lines
790 B
Nix
30 lines
790 B
Nix
|
{ stdenv, fetchFromGitHub, gtk }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
version = "6a5f14cfe697b0a829456a1fd560acdcddc6043f";
|
||
|
name = "paper-gtk-theme-${version}";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "snwh";
|
||
|
repo = "paper-gtk-theme";
|
||
|
sha256 = "0kyn3a6sq0z22vds6szl630jv20pjskjbdg0wc8abxzwg0vwxc5m";
|
||
|
rev = version;
|
||
|
};
|
||
|
|
||
|
dontBuild = true;
|
||
|
installPhase = ''
|
||
|
mkdir -p $out/share/themes/Paper/
|
||
|
cp -r ./Paper/ $out/share/themes/
|
||
|
'';
|
||
|
|
||
|
preferLocalBuild = true;
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
description = "Paper is a modern desktop theme suite. Its design is mostly flat with a minimal use of shadows for depth.";
|
||
|
homepage = "http://snwh.org/paper/";
|
||
|
license = licenses.gpl3;
|
||
|
maintainers = [ maintainers.simonvandel ];
|
||
|
platforms = platforms.linux;
|
||
|
};
|
||
|
}
|