2018-10-01 14:29:28 +00:00
|
|
|
{ stdenv, fetchFromGitHub, gtk3, sassc }:
|
2018-10-01 14:25:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-27 20:28:59 +00:00
|
|
|
pname = "adementary-theme";
|
|
|
|
version = "201905r1";
|
2018-10-01 14:25:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hrdwrrsk";
|
2019-05-01 20:32:39 +00:00
|
|
|
repo = pname;
|
2018-10-01 14:25:52 +00:00
|
|
|
rev = version;
|
2019-05-27 20:28:59 +00:00
|
|
|
sha256 = "14y5s18g9r2c1ciw1skfksn09gvqgy8vjvwbr0z8gacf0jc2apqk";
|
2018-10-01 14:25:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
# Shut up inkscape's warnings
|
|
|
|
export HOME="$NIX_BUILD_ROOT"
|
|
|
|
'';
|
|
|
|
|
2018-10-01 14:29:28 +00:00
|
|
|
nativeBuildInputs = [ sassc ];
|
2018-10-01 14:25:52 +00:00
|
|
|
buildInputs = [ gtk3 ];
|
|
|
|
|
|
|
|
postPatch = "patchShebangs .";
|
|
|
|
|
2018-10-01 14:29:28 +00:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/themes
|
|
|
|
./install.sh -d $out/share/themes
|
|
|
|
'';
|
2018-10-01 14:25:52 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-02-03 10:52:40 +00:00
|
|
|
description = "Adwaita-based gtk+ theme with design influence from elementary OS and Vertex gtk+ theme";
|
2019-05-27 20:28:59 +00:00
|
|
|
homepage = https://github.com/hrdwrrsk/adementary-theme;
|
2018-10-01 14:25:52 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|