1 { lib, stdenvNoCC, fetchFromGitHub, meson, ninja, gtk3, adwaita-icon-theme, gnome-icon-theme, hicolor-icon-theme, jdupes }:
3 stdenvNoCC.mkDerivation rec {
4 pname = "paper-icon-theme";
5 version = "unstable-2020-03-12";
7 src = fetchFromGitHub {
10 rev = "aa3e8af7a1f0831a51fd7e638a4acb077a1e5188";
11 sha256 = "0x6qzch4rrc8firb1dcf926j93gpqxvd7h6dj5wwczxbvxi5bd77";
21 propagatedBuildInputs = [
27 dontDropIconThemeCache = true;
29 # These fixup steps are slow and unnecessary for this package
31 dontRewriteSymlinks = true;
34 # The cache for Paper-Mono-Dark is missing
35 gtk-update-icon-cache "$out"/share/icons/Paper-Mono-Dark;
37 # replace duplicate files with symlinks
38 jdupes -l -r $out/share/icons
42 description = "Modern icon theme designed around bold colours and simple geometric shapes";
43 homepage = "https://snwh.org/paper";
44 license = with licenses; [ cc-by-sa-40 lgpl3 ];
45 # darwin cannot deal with file names differing only in case
46 platforms = platforms.linux;
47 maintainers = with maintainers; [ romildo ];