ayu-theme-gtk: init @ unstable-2017-05-12

This commit is contained in:
Bernardo Meurer 2021-11-05 21:00:16 -07:00
parent 5c2e32fea4
commit 9dc2557863
No known key found for this signature in database
GPG Key ID: F4C0D53B8D14C246
2 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,68 @@
{ stdenv
, autoreconfHook
, fetchFromGitHub
, gnome
, gtk-engine-murrine
, gtk3
, inkscape
, lib
, optipng
, pkg-config
, sassc
}:
stdenv.mkDerivation rec {
pname = "ayu-theme-gtk";
version = "unstable-2017-05-12";
src = fetchFromGitHub {
owner = "dnordstrom";
repo = "ayu-theme";
rev = "cc6f3d3b72897c304e2f00afcaf51df863155e35";
sha256 = "sha256-1EhTfPhYl+4IootTCCE04y6V7nW1/eWdHarfF7/j1U0=";
};
postPatch = ''
ln -sn 3.20 common/gtk-3.0/3.24
ln -sn 3.18 common/gnome-shell/3.24
'';
nativeBuildInputs = [
autoreconfHook
gtk3
inkscape
optipng
pkg-config
sassc
];
propagatedUserEnvPkgs = [
gnome.gnome-themes-extra
gtk-engine-murrine
];
enableParallelBuilding = true;
preBuild = ''
# Shut up inkscape's warnings about creating profile directory
export HOME="$NIX_BUILD_ROOT"
'';
configureFlags = [
"--with-gnome-shell=${gnome.gnome-shell.version}"
"--disable-unity"
];
postInstall = ''
install -Dm644 -t $out/share/doc/${pname} AUTHORS *.md
'';
meta = with lib; {
description = "Ayu colored GTK and Kvantum themes based on Arc";
homepage = "https://github.com/dnordstrom/ayu-theme/";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ lovesegfault ];
};
}

View File

@ -22764,6 +22764,8 @@ with pkgs;
aurulent-sans = callPackage ../data/fonts/aurulent-sans { };
ayu-theme-gtk = callPackage ../data/themes/ayu-theme-gtk { };
b612 = callPackage ../data/fonts/b612 { };
babelstone-han = callPackage ../data/fonts/babelstone-han { };