hexchat: simplify theme example
This commit is contained in:
parent
bb72555852
commit
7e30aec282
1 changed files with 6 additions and 11 deletions
|
@ -321,21 +321,16 @@ in {
|
||||||
type = nullOr package;
|
type = nullOr package;
|
||||||
default = null;
|
default = null;
|
||||||
example = literalExpression ''
|
example = literalExpression ''
|
||||||
stdenv.mkDerivation rec {
|
source = pkgs.fetchzip {
|
||||||
name = "hexchat-theme-MatriY";
|
url = "https://dl.hexchat.net/themes/Monokai.hct#Monokai.zip";
|
||||||
buildInputs = [ pkgs.unzip ];
|
sha256 = "sha256-WCdgEr8PwKSZvBMs0fN7E2gOjNM0c2DscZGSKSmdID0=";
|
||||||
src = fetchurl {
|
stripRoot = false;
|
||||||
url = "https://dl.hexchat.net/themes/MatriY.hct";
|
|
||||||
sha256 = "sha256-ffkFJvySfl0Hwja3y7XCiNJceUrGvlEoEm97eYNMTZc=";
|
|
||||||
};
|
|
||||||
unpackPhase = "unzip ''${src}";
|
|
||||||
installPhase = "cp -r . $out";
|
|
||||||
};
|
};
|
||||||
'';
|
'';
|
||||||
description = ''
|
description = ''
|
||||||
Theme package for HexChat. Expects a derivation containing decompressed
|
Theme package for HexChat. Expects a derivation containing decompressed
|
||||||
theme files. <literal>.hct</literal> file format requires unzip
|
theme files. Note, <literal>.hct</literal> files are actually ZIP files,
|
||||||
decompression, as seen in example.
|
as seen in example.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue