32 lines
689 B
Nix
32 lines
689 B
Nix
|
{
|
||
|
fetchFromGitHub,
|
||
|
stdenv,
|
||
|
lib,
|
||
|
}:
|
||
|
stdenv.mkDerivation {
|
||
|
name = "hugo-theme-extranix-options-search";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "mipmip";
|
||
|
repo = "hugo-theme-extranix-options-search";
|
||
|
rev = "1b5cdc63b3127ab81aed2736b0dea7ed09b7ec72";
|
||
|
hash = "sha256-oowopWC9JdZIex548S0W91MIPSDCaJ3isuNLfesjT9U=";
|
||
|
};
|
||
|
|
||
|
patches = [
|
||
|
./0001-fix-pretty-no-defaults.patch
|
||
|
];
|
||
|
|
||
|
installPhase = ''
|
||
|
mkdir $out
|
||
|
cp -r * $out
|
||
|
'';
|
||
|
|
||
|
meta = {
|
||
|
description = "Theme which implements a nix modules options search machine.";
|
||
|
homepage = "https://github.com/mipmip/hugo-theme-extranix-options-search";
|
||
|
license = lib.licenses.asl20;
|
||
|
maintainers = [ ];
|
||
|
};
|
||
|
}
|