3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/themes/adementary/default.nix

37 lines
898 B
Nix
Raw Normal View History

2018-10-01 15:29:28 +01:00
{ stdenv, fetchFromGitHub, gtk3, sassc }:
2018-10-01 15:25:52 +01:00
stdenv.mkDerivation rec {
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;
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; {
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 15:25:52 +01:00
license = licenses.gpl3;
maintainers = with maintainers; [ dtzWill ];
platforms = platforms.linux;
};
}