diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2020-09-04 13:55:48 -0300 |
---|---|---|
committer | José Romildo Malaquias <malaquias@gmail.com> | 2020-09-04 13:55:48 -0300 |
commit | 3355e6c3132739c54d5807cb3b17677db4a72cb3 (patch) | |
tree | a76579c9364214a7d9e107d8f14c9f7bcbee0dd5 /pkgs/data/themes | |
parent | d618cd80d2f0f9c491882ffa5c45d79396238be6 (diff) |
theme-obsidian2: include theme variants
Diffstat (limited to 'pkgs/data/themes')
-rw-r--r-- | pkgs/data/themes/obsidian2/default.nix | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/data/themes/obsidian2/default.nix b/pkgs/data/themes/obsidian2/default.nix index a19845b0d3a40..cb6cd686aca5c 100644 --- a/pkgs/data/themes/obsidian2/default.nix +++ b/pkgs/data/themes/obsidian2/default.nix @@ -1,22 +1,22 @@ -{ stdenv, fetchFromGitHub, gtk-engine-murrine }: +{ stdenv, fetchurl, gtk-engine-murrine }: stdenv.mkDerivation rec { pname = "theme-obsidian2"; version = "2.14"; - src = fetchFromGitHub { - owner = "madmaxms"; - repo = "theme-obsidian-2"; - rev = "v${version}"; - sha256 = "0i5lrj45zswd3rmclvywpk7x30bvib5zldhmfl38gbj477ag8ng8"; + src = fetchurl { + url = "https://github.com/madmaxms/theme-obsidian-2/releases/download/v${version}/obsidian-2-theme.tar.xz"; + sha256 = "0q713s6fwdvbiirzkm91y9xdpc7x7ay432km0fx90vn4s24p718y"; }; + sourceRoot = "."; + propagatedUserEnvPkgs = [ gtk-engine-murrine ]; installPhase = '' runHook preInstall mkdir -p $out/share/themes - cp -a Obsidian-2 $out/share/themes + cp -a Obsidian-2* $out/share/themes runHook postInstall ''; |