mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
theme-obsidian2: 2.8 -> 2.9 (#67501)
* theme-obsidian2: 2.8 -> 2.9 * theme-obsidian2: move to pkgs/data * theme-obsidian2: use pname * theme-obsidian2: run hooks preInstall and postInstall in install phase
This commit is contained in:
parent
da1ff985ae
commit
86e1452556
@ -1,25 +1,23 @@
|
||||
{ stdenv, fetchFromGitHub, gtk-engine-murrine }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "theme-obsidian2-${version}";
|
||||
version = "2.8";
|
||||
pname = "theme-obsidian2";
|
||||
version = "2.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "madmaxms";
|
||||
repo = "theme-obsidian-2";
|
||||
rev = "v${version}";
|
||||
sha256 = "0qryqpyxbhr0kyar2cshwhzv4da6rfz9gi4wjb6xvcb6szxhlcaq";
|
||||
sha256 = "1m89ws2a4nms4m8187d5cxi281b66i59xa5shlp3g1r2jc4312cy";
|
||||
};
|
||||
|
||||
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e 's|Obsidian-2-Local|Obsidian-2|' Obsidian-2/index.theme
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/themes
|
||||
cp -a Obsidian-2 $out/share/themes
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
@ -17104,6 +17104,8 @@ in
|
||||
gtk = res.gtk2;
|
||||
};
|
||||
|
||||
theme-obsidian2 = callPackage ../data/themes/obsidian2 { };
|
||||
|
||||
themes = name: callPackage (../data/misc/themes + ("/" + name + ".nix")) {};
|
||||
|
||||
theano = callPackage ../data/fonts/theano { };
|
||||
@ -22741,8 +22743,6 @@ in
|
||||
|
||||
theme-jade1 = callPackage ../misc/themes/jade1 { };
|
||||
|
||||
theme-obsidian2 = callPackage ../misc/themes/obsidian2 { };
|
||||
|
||||
theme-vertex = callPackage ../misc/themes/vertex { };
|
||||
|
||||
rox-filer = callPackage ../desktops/rox/rox-filer {
|
||||
|
Loading…
Reference in New Issue
Block a user