mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
moka-icon-theme: build GTK icon cache
This commit is contained in:
parent
c087641f64
commit
cc3bd76540
@ -1,25 +1,25 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, faba-icon-theme }:
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, faba-icon-theme, gtk3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${package-name}-${version}";
|
||||
package-name = "moka-icon-theme";
|
||||
name = "${pname}-${version}";
|
||||
pname = "moka-icon-theme";
|
||||
version = "5.3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "snwh";
|
||||
repo = package-name;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "17f8k8z8xvib4hkxq0cw9j7bhdpqpv5frrkyc4sbyildcbavzzbr";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
buildInputs = [ faba-icon-theme ];
|
||||
nativeBuildInputs = [ autoreconfHook faba-icon-theme gtk3 ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile.am --replace '$(DESTDIR)'/usr $out
|
||||
'';
|
||||
|
||||
postFixup = "gtk-update-icon-cache $out/share/icons/Moka";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An icon theme designed with a minimal flat style using simple geometry and bright colours";
|
||||
homepage = https://snwh.org/moka;
|
||||
|
Loading…
Reference in New Issue
Block a user