nixpkgs/pkgs/by-name/ma/marwaita-orange/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

51 lines
923 B
Nix
Raw Normal View History

2023-11-03 12:58:32 +00:00
{ lib
, stdenv
2020-10-07 21:11:21 +00:00
, fetchFromGitHub
, gdk-pixbuf
, gtk-engine-murrine
, gtk_engines
, librsvg
2023-11-03 12:58:32 +00:00
, gitUpdater
2020-10-07 21:11:21 +00:00
}:
stdenv.mkDerivation rec {
pname = "marwaita-orange";
2024-08-12 01:56:32 +00:00
version = "20.3.1";
2020-10-07 21:11:21 +00:00
src = fetchFromGitHub {
owner = "darkomarko42";
repo = pname;
2024-07-08 14:54:55 +00:00
rev = version;
2024-08-12 01:56:32 +00:00
hash = "sha256-DdtFAUoIT51kGrEz1IpLvuJMEL+pMDICobuNV6UfC6Q=";
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
'';
2023-11-03 12:58:32 +00:00
passthru.updateScript = gitUpdater { };
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 ];
};
}