Skip to content

Commit

Permalink
humanity-icon-theme: init at 0.6.15
Browse files Browse the repository at this point in the history
  • Loading branch information
romildo committed Apr 14, 2020
1 parent 7e82266 commit 4e60f30
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
44 changes: 44 additions & 0 deletions pkgs/data/icons/humanity-icon-theme/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{ stdenv, fetchurl, gtk3, gnome3, hicolor-icon-theme }:

stdenv.mkDerivation rec {
pname = "humanity-icon-theme";
version = "0.6.15";

src = fetchurl {
url = "https://launchpad.net/ubuntu/+archive/primary/+files/${pname}_${version}.tar.xz";
sha256 = "19ja47468s3jfabvakq9wknyfclfr31a9vd11p3mhapfq8jv9g4x";
};

nativeBuildInputs = [
gtk3
];

propagatedBuildInputs = [
gnome3.adwaita-icon-theme
hicolor-icon-theme
];

dontDropIconThemeCache = true;

installPhase = ''
runHook preInstall
mkdir -p $out/share/icons
cp -a Humanity* $out/share/icons
rm $out/share/icons/*/{AUTHORS,CONTRIBUTORS,COPYING}
for theme in $out/share/icons/*; do
gtk-update-icon-cache $theme
done
runHook postInstall
'';

meta = with stdenv.lib; {
description = "Humanity icons from Ubuntu";
homepage = "https://launchpad.net/humanity/";
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17813,6 +17813,8 @@ in

hermit = callPackage ../data/fonts/hermit { };

humanity-icon-theme = callPackage ../data/icons/humanity-icon-theme { };

hyperscrypt-font = callPackage ../data/fonts/hyperscrypt { };

ia-writer-duospace = callPackage ../data/fonts/ia-writer-duospace { };
Expand Down

0 comments on commit 4e60f30

Please sign in to comment.