mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
orchis: init at 2021-01-22
This commit is contained in:
parent
98ad1d26ca
commit
d6273c4397
42
pkgs/data/themes/orchis/default.nix
Normal file
42
pkgs/data/themes/orchis/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -20482,6 +20482,8 @@ in
|
||||
|
||||
orbitron = callPackage ../data/fonts/orbitron { };
|
||||
|
||||
orchis = callPackage ../data/themes/orchis { };
|
||||
|
||||
orion = callPackage ../data/themes/orion {};
|
||||
|
||||
overpass = callPackage ../data/fonts/overpass { };
|
||||
|
Loading…
Reference in New Issue
Block a user