3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/icons/qogir-icon-theme/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
1 KiB
Nix
Raw Normal View History

{ lib
, stdenvNoCC
, fetchFromGitHub
, gtk3
, hicolor-icon-theme
, jdupes
}:
stdenvNoCC.mkDerivation rec {
2019-09-15 20:36:32 +01:00
pname = "qogir-icon-theme";
version = "2022-01-12";
2019-09-15 20:36:32 +01:00
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
sha256 = "1daayxsqh7di3bvfnl39h1arsj1fypd3ba30mas6dl1d0qy17z1p";
2019-09-15 20:36:32 +01:00
};
nativeBuildInputs = [ gtk3 jdupes ];
2019-09-15 20:36:32 +01:00
propagatedBuildInputs = [ hicolor-icon-theme ];
dontDropIconThemeCache = true;
# These fixup steps are slow and unnecessary.
dontPatchELF = true;
dontRewriteSymlinks = true;
2019-09-15 20:36:32 +01:00
installPhase = ''
runHook preInstall
2019-09-15 20:36:32 +01:00
patchShebangs install.sh
mkdir -p $out/share/icons
name= ./install.sh -d $out/share/icons
jdupes -L -r $out/share/icons
runHook postInstall
2019-09-15 20:36:32 +01:00
'';
meta = with lib; {
description = "Flat colorful design icon theme";
homepage = "https://github.com/vinceliuice/Qogir-icon-theme";
2021-07-14 15:30:47 +01:00
license = with licenses; [ gpl3Only ];
2019-09-15 20:36:32 +01:00
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}