2018-02-24 12:11:30 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, elementary-icon-theme, gtk3 }:
|
2016-06-10 15:24:44 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${package-name}-${version}";
|
|
|
|
package-name = "faba-icon-theme";
|
2016-10-14 12:10:52 +02:00
|
|
|
version = "2016-09-13";
|
2016-06-10 15:24:44 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "moka-project";
|
|
|
|
repo = package-name;
|
2016-10-14 12:10:52 +02:00
|
|
|
rev = "00431894bce5fb1b8caccaee064788996be228a7";
|
|
|
|
sha256 = "0hif030pd4w3s851k0s65w0mf2pik10ha25ycpsv91gpbgarqcns";
|
2016-06-10 15:24:44 +02:00
|
|
|
};
|
|
|
|
|
2018-02-24 12:11:30 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook elementary-icon-theme gtk3 ];
|
2016-06-10 15:24:44 +02:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace Makefile.am --replace '$(DESTDIR)'/usr $out
|
|
|
|
'';
|
|
|
|
|
2018-02-24 12:11:30 +01:00
|
|
|
postFixup = "gtk-update-icon-cache $out/share/icons/Faba";
|
|
|
|
|
2016-06-10 15:24:44 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A sexy and modern icon theme with Tango influences";
|
|
|
|
homepage = https://snwh.org/moka;
|
|
|
|
license = with licenses; [ cc-by-sa-40 gpl3 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|