2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, gtk3, hicolor-icon-theme }:
|
2019-09-15 19:36:32 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "qogir-icon-theme";
|
2021-07-14 14:27:38 +00:00
|
|
|
version = "2021-07-14";
|
2019-09-15 19:36:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vinceliuice";
|
|
|
|
repo = pname;
|
2020-01-29 11:27:56 +00:00
|
|
|
rev = version;
|
2021-07-14 14:27:38 +00:00
|
|
|
sha256 = "0anma2ss3yqr9njx4ay2nyxjkgnj7ky17c93ipwgrvgsv8jk5nn2";
|
2019-09-15 19:36:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ gtk3 ];
|
|
|
|
|
2020-04-17 23:52:26 +00:00
|
|
|
propagatedBuildInputs = [ hicolor-icon-theme ];
|
|
|
|
|
2020-01-29 11:27:56 +00:00
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
|
2019-09-15 19:36:32 +00:00
|
|
|
installPhase = ''
|
2021-07-14 14:28:42 +00:00
|
|
|
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
|
2021-07-14 14:28:42 +00:00
|
|
|
runHook postInstall
|
2019-09-15 19:36:32 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-02-21 12:02:19 +00:00
|
|
|
description = "Flat colorful design icon theme";
|
2020-01-29 11:27:56 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|