Merge pull request #144829 from lovesegfault/ayu-theme-gtk-init

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

authored by

Bernardo Meurer and committed by
GitHub
f8de2aec f2c9cf39

+70
+68
pkgs/data/themes/ayu-theme-gtk/default.nix
··· 1 + { stdenv 2 + , autoreconfHook 3 + , fetchFromGitHub 4 + , gnome 5 + , gtk-engine-murrine 6 + , gtk3 7 + , inkscape 8 + , lib 9 + , optipng 10 + , pkg-config 11 + , sassc 12 + }: 13 + 14 + stdenv.mkDerivation rec { 15 + pname = "ayu-theme-gtk"; 16 + version = "unstable-2017-05-12"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "dnordstrom"; 20 + repo = "ayu-theme"; 21 + rev = "cc6f3d3b72897c304e2f00afcaf51df863155e35"; 22 + sha256 = "sha256-1EhTfPhYl+4IootTCCE04y6V7nW1/eWdHarfF7/j1U0="; 23 + }; 24 + 25 + postPatch = '' 26 + ln -sn 3.20 common/gtk-3.0/3.24 27 + ln -sn 3.18 common/gnome-shell/3.24 28 + ''; 29 + 30 + nativeBuildInputs = [ 31 + autoreconfHook 32 + gtk3 33 + inkscape 34 + optipng 35 + pkg-config 36 + sassc 37 + ]; 38 + 39 + propagatedUserEnvPkgs = [ 40 + gnome.gnome-themes-extra 41 + gtk-engine-murrine 42 + ]; 43 + 44 + enableParallelBuilding = true; 45 + 46 + preBuild = '' 47 + # Shut up inkscape's warnings about creating profile directory 48 + export HOME="$NIX_BUILD_ROOT" 49 + ''; 50 + 51 + configureFlags = [ 52 + "--with-gnome-shell=${gnome.gnome-shell.version}" 53 + "--disable-unity" 54 + ]; 55 + 56 + postInstall = '' 57 + install -Dm644 -t $out/share/doc/${pname} AUTHORS *.md 58 + ''; 59 + 60 + meta = with lib; { 61 + description = "Ayu colored GTK and Kvantum themes based on Arc"; 62 + homepage = "https://github.com/dnordstrom/ayu-theme/"; 63 + license = licenses.gpl3; 64 + platforms = platforms.linux; 65 + maintainers = with maintainers; [ lovesegfault ]; 66 + }; 67 + } 68 +
+2
pkgs/top-level/all-packages.nix
··· 22773 22773 22774 22774 aurulent-sans = callPackage ../data/fonts/aurulent-sans { }; 22775 22775 22776 + ayu-theme-gtk = callPackage ../data/themes/ayu-theme-gtk { }; 22777 + 22776 22778 b612 = callPackage ../data/fonts/b612 { }; 22777 22779 22778 22780 babelstone-han = callPackage ../data/fonts/babelstone-han { };