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