mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
58 lines
1.2 KiB
Nix
58 lines
1.2 KiB
Nix
{ stdenv, fetchFromGitHub, sassc, autoreconfHook, pkgconfig, gtk3, gnome3
|
|
, gtk-engine-murrine, optipng, inkscape }:
|
|
|
|
let
|
|
pname = "arc-theme";
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
version = "20181022";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "NicoHood";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "08951dk1irfadwpr3p323a4fprmxg53rk2r2niwq3v62ryhi3663";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkgconfig
|
|
sassc
|
|
optipng
|
|
inkscape
|
|
gtk3
|
|
gnome3.gnome-shell
|
|
];
|
|
|
|
propagatedUserEnvPkgs = [
|
|
gnome3.gnome-themes-extra
|
|
gtk-engine-murrine
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
postPatch = ''
|
|
patchShebangs .
|
|
'';
|
|
|
|
preBuild = ''
|
|
# Shut up inkscape's warnings about creating profile directory
|
|
export HOME="$NIX_BUILD_ROOT"
|
|
'';
|
|
|
|
configureFlags = [ "--disable-unity" ];
|
|
|
|
postInstall = ''
|
|
install -Dm644 -t $out/share/doc/${pname} AUTHORS *.md
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A flat theme with transparent elements for GTK 3, GTK 2 and Gnome-Shell";
|
|
homepage = https://github.com/NicoHood/arc-theme;
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ simonvandel romildo ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|