mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
51 lines
956 B
Nix
51 lines
956 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, gdk-pixbuf
|
|
, gtk-engine-murrine
|
|
, gtk_engines
|
|
, librsvg
|
|
, gitUpdater
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "marwaita-ubuntu";
|
|
version = "17.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "darkomarko42";
|
|
repo = pname;
|
|
rev = "481aae16034e0321bcabd14270639b8bd8b9aa73";
|
|
hash = "sha256-Ze2nR+77qe0TfwcvXP9eheB7mXSSVdejk11GS0fx7LY=";
|
|
};
|
|
|
|
buildInputs = [
|
|
gdk-pixbuf
|
|
gtk_engines
|
|
librsvg
|
|
];
|
|
|
|
propagatedUserEnvPkgs = [
|
|
gtk-engine-murrine
|
|
];
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p $out/share/themes
|
|
cp -a Marwaita* $out/share/themes
|
|
runHook postInstall
|
|
'';
|
|
|
|
passthru.updateScript = gitUpdater { };
|
|
|
|
meta = with lib; {
|
|
description = "Ubuntu Style of Marwaita GTK theme";
|
|
homepage = "https://www.pling.com/p/1352833/";
|
|
license = licenses.gpl3Only;
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.romildo ];
|
|
};
|
|
}
|