blog-static-flake/blog/default.nix

18 lines
542 B
Nix
Raw Normal View History

2020-04-07 19:20:38 -07:00
{ stdenv, hugo, fetchgit, katex, ruby }:
2020-04-06 16:51:17 -07:00
let
url = "https://dev.danilafe.com/Web-Projects/blog-static.git";
rev = "7f3883fb3994f8ae1a64446a88b729662c9244dc";
sha256 = "065by3rjg7a43dqdl5ib07c0xi86balb5x2l54jqnlh1hz00bd85";
2020-04-06 16:51:17 -07:00
in
stdenv.mkDerivation {
name = "blog-static";
version = rev;
src = fetchgit {
inherit url rev sha256;
};
builder = ./builder.sh;
converter = ./convert.rb;
2020-04-07 19:20:38 -07:00
buildInputs = [ hugo katex (ruby.withPackages (ps: [ ps.nokogiri ])) ];
2020-04-06 16:51:17 -07:00
}