laptop-config/pkgs/beos-r5-icons/default.nix
2026-05-21 11:07:40 -07:00

34 lines
1.1 KiB
Nix

{ lib, stdenvNoCC, fetchFromGitHub }:
stdenvNoCC.mkDerivation {
pname = "beos-r5-icons";
version = "2021-03-24";
src = fetchFromGitHub {
owner = "jcherven";
repo = "BeOS-r5-Icons";
rev = "1c1067eabaeb0196c12606ac19b2aed4496bc15e";
hash = "sha256-6qnOWMdwgK9tKifHXSF6s1KjHkdIG/jnM9Te43cVOjo=";
};
installPhase = ''
mkdir -p $out/share/icons/BeOS-r5
cp -pr * $out/share/icons/BeOS-r5/
# Remove broken symlinks (icon theme has some dangling links)
find $out/share/icons/BeOS-r5 -type l -not -exec test -e {} \; -delete
rm -f $out/share/icons/BeOS-r5/screenshot.png
rm -f $out/share/icons/BeOS-r5/.icon-theme.cache
'';
meta = with lib; {
description = "Classic BeOS r5 icons for Linux desktops";
longDescription = ''
A large collection of BeOS & period-correct icons.
Includes icons from BeOS-r5, Zeta OS, Haiku OS, KDEclassic, and more.
'';
homepage = "https://github.com/jcherven/BeOS-r5-Icons";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ ];
};
}