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

36 lines
875 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, gtk3, hicolor-icon-theme }:
2019-09-15 19:36:32 +00:00
stdenv.mkDerivation rec {
pname = "qogir-icon-theme";
version = "2021-07-14";
2019-09-15 19:36:32 +00:00
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
sha256 = "0anma2ss3yqr9njx4ay2nyxjkgnj7ky17c93ipwgrvgsv8jk5nn2";
2019-09-15 19:36:32 +00:00
};
nativeBuildInputs = [ gtk3 ];
propagatedBuildInputs = [ hicolor-icon-theme ];
dontDropIconThemeCache = true;
2019-09-15 19:36:32 +00:00
installPhase = ''
runHook preInstall
2019-09-15 19:36:32 +00:00
patchShebangs install.sh
mkdir -p $out/share/icons
name= ./install.sh -d $out/share/icons
runHook postInstall
2019-09-15 19:36:32 +00:00
'';
meta = with lib; {
description = "Flat colorful design icon theme";
homepage = "https://github.com/vinceliuice/Qogir-icon-theme";
2021-07-14 14:30:47 +00:00
license = with licenses; [ gpl3Only ];
2019-09-15 19:36:32 +00:00
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}