nixpkgs/pkgs/data/themes/adementary/default.nix

37 lines
898 B
Nix
Raw Normal View History

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