nixpkgs/pkgs/data/themes/marwaita-ubuntu/default.nix

47 lines
866 B
Nix
Raw Normal View History

{ lib, stdenv
2020-10-07 21:11:21 +00:00
, fetchFromGitHub
, gdk-pixbuf
, gtk-engine-murrine
, gtk_engines
, librsvg
}:
stdenv.mkDerivation rec {
pname = "marwaita-ubuntu";
2021-01-11 14:55:33 +00:00
version = "1.7";
2020-10-07 21:11:21 +00:00
src = fetchFromGitHub {
owner = "darkomarko42";
repo = pname;
rev = version;
2021-01-11 14:55:33 +00:00
sha256 = "024b0817jilvi5ilq9sbwg19ql5i2x3jfgc1awk7zzv6sqii639x";
2020-10-07 21:11:21 +00:00
};
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
'';
meta = with lib; {
2020-10-07 21:11:21 +00:00
description = "Ubuntu Style of Marwaita GTK theme";
homepage = "https://www.pling.com/p/1352833/";
license = licenses.gpl3Only;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}