nixpkgs/pkgs/data/icons/paper-icon-theme/default.nix

31 lines
818 B
Nix
Raw Normal View History

2018-02-24 11:42:09 +00:00
{ stdenv, fetchFromGitHub, autoreconfHook, gtk3 }:
2016-05-22 13:41:15 +00:00
stdenv.mkDerivation rec {
2018-02-24 11:42:09 +00:00
name = "${pname}-${version}";
pname = "paper-icon-theme";
version = "2017-11-20";
2016-05-22 13:41:15 +00:00
src = fetchFromGitHub {
owner = "snwh";
2018-02-24 11:42:09 +00:00
repo = pname;
rev = "af0296ecc872ad723fad7dca6e7e89eb85cbb3a8";
sha256 = "18a9zl9lbw9gc3zas49w329xrps4slvkp4nv815nlnmimz8dj85m";
2016-05-22 13:41:15 +00:00
};
2018-02-24 11:42:09 +00:00
nativeBuildInputs = [ autoreconfHook gtk3 ];
postFixup = ''
for theme in $out/share/icons/*; do
gtk-update-icon-cache $theme
done
'';
2016-05-22 13:41:15 +00:00
meta = with stdenv.lib; {
description = "Modern icon theme designed around bold colours and simple geometric shapes";
homepage = https://snwh.org/paper;
2016-05-22 13:41:15 +00:00
license = with licenses; [ cc-by-sa-40 lgpl3 ];
platforms = platforms.all;
maintainers = with maintainers; [ romildo ];
};
}