{ stdenv, hugo, fetchgit, pkgs, nodejs, ruby }: let url = "https://dev.danilafe.com/Web-Projects/blog-static.git"; rev = "4ede62b39a3dc776350f41bd8c9bab3dfbb779b2"; sha256 = "05lq4j72hngjmag8ann9sqb4ib512vayhp6wivwizhf4c9k1bviz"; requiredPackages = import ./required-packages.nix { inherit pkgs nodejs; }; in stdenv.mkDerivation { name = "blog-static"; version = rev; src = fetchgit { inherit url rev sha256; }; builder = ./builder.sh; converter = ./convert.rb; buildInputs = [ hugo requiredPackages.katex (ruby.withPackages (ps: [ ps.nokogiri ])) ]; }