depot/third_party/nixpkgs/pkgs/data/icons/qogir-icon-theme/default.nix

34 lines
826 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, gtk3, hicolor-icon-theme }:
stdenv.mkDerivation rec {
pname = "qogir-icon-theme";
version = "2020-06-22";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
sha256 = "0s5fhwfhn4qgk198jw736byxdrfm42l5m681pllbhg02j8ld4iik";
};
nativeBuildInputs = [ gtk3 ];
propagatedBuildInputs = [ hicolor-icon-theme ];
dontDropIconThemeCache = true;
installPhase = ''
patchShebangs install.sh
mkdir -p $out/share/icons
name= ./install.sh -d $out/share/icons
'';
meta = with stdenv.lib; {
description = "Flat colorful design icon theme";
homepage = "https://github.com/vinceliuice/Qogir-icon-theme";
license = with licenses; [ gpl3 ];
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}