Merge pull request #111347 from fufexan/orchis-theme

This commit is contained in:
Sandro 2021-02-22 02:15:44 +01:00 committed by GitHub
commit 2e338d35bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 50 additions and 0 deletions

View File

@ -3297,6 +3297,12 @@
githubId = 10528737;
name = "Severin Fürbringer";
};
fufexan = {
email = "fufexan@protonmail.com";
github = "fufexan";
githubId = 36706276;
name = "Fufezan Mihai";
};
funfunctor = {
email = "eocallaghan@alterapraxis.com";
name = "Edward O'Callaghan";

View File

@ -0,0 +1,42 @@
{ lib, stdenv, fetchFromGitHub, gtk3, gnome-themes-extra, gtk-engine-murrine
, accentColor ? "default" }:
stdenv.mkDerivation rec {
pname = "orchis";
version = "2021-01-22";
src = fetchFromGitHub {
repo = "Orchis-theme";
owner = "vinceliuice";
rev = version;
sha256 = "1m0wilvrscg2xnkp6a90j0iccxd8ywvfpza1345sc6xmml9gvjzc";
};
nativeBuildInputs = [ gtk3 ];
buildInputs = [ gnome-themes-extra ];
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
dontPatch = true;
dontConfigure = true;
dontBuild = true;
preInstall = ''
mkdir -p $out/share/themes
'';
installPhase = ''
runHook preInstall
bash install.sh -d $out/share/themes -t ${accentColor}
runHook postInstall
'';
meta = with lib; {
description = "A Material Design theme for GNOME/GTK based desktop environments.";
homepage = "https://github.com/vinceliuice/Orchis-theme";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = [ maintainers.fufexan ];
};
}

View File

@ -20782,6 +20782,8 @@ in
orbitron = callPackage ../data/fonts/orbitron { };
orchis = callPackage ../data/themes/orchis { };
orion = callPackage ../data/themes/orion {};
overpass = callPackage ../data/fonts/overpass { };