2023-08-02 17:01:40 +02:00
|
|
|
{ pkgs, ... }:
|
|
|
|
with pkgs; let
|
2023-07-19 20:05:45 +02:00
|
|
|
|
|
|
|
json-minify = (buildRubyGem {
|
|
|
|
gemName = "json-minify";
|
|
|
|
dependencies = [ rubyPackages.json ];
|
|
|
|
groups = ["default"];
|
|
|
|
platforms = [];
|
|
|
|
source = {
|
|
|
|
remotes = ["https://rubygems.org"];
|
|
|
|
sha256 = "fd38ef93867332c2340aaf1b57335782ab5958fe6fb3ca7a8aba1469f0bf08ae";
|
|
|
|
type = "gem";
|
|
|
|
};
|
|
|
|
version = "0.0.3";
|
|
|
|
});
|
|
|
|
|
|
|
|
htmlcompressor = (buildRubyGem {
|
|
|
|
gemName = "htmlcompressor";
|
|
|
|
dependencies = [ ];
|
|
|
|
groups = ["default"];
|
|
|
|
platforms = [];
|
|
|
|
source = {
|
|
|
|
remotes = ["https://rubygems.org"];
|
|
|
|
sha256 = "4630cf8ed46b563f0b49cc6028a3fe8c17a9067f2becd7c3a2aa5aaacefb1f9e";
|
|
|
|
type = "gem";
|
|
|
|
};
|
|
|
|
version = "0.4.0";
|
|
|
|
});
|
|
|
|
|
|
|
|
cssminify2 = (buildRubyGem {
|
|
|
|
gemName = "cssminify2";
|
|
|
|
dependencies = [ ];
|
|
|
|
groups = ["default"];
|
|
|
|
platforms = [];
|
|
|
|
source = {
|
|
|
|
remotes = ["https://rubygems.org"];
|
|
|
|
sha256 = "e311cfced4ccfc55d27bf30520f7d11ed129bf04dcadd5a82e791a141e45b98c";
|
|
|
|
type = "gem";
|
|
|
|
};
|
|
|
|
version = "2.0.1";
|
|
|
|
});
|
|
|
|
|
|
|
|
jekyll-katex = (buildRubyGem {
|
|
|
|
gemName = "jekyll-katex";
|
|
|
|
dependencies = [ rubyPackages.execjs jekyll ];
|
2023-12-08 22:09:59 +01:00
|
|
|
nativeBuildInputs = [ rubyPackages.execjs jekyll ];
|
2023-07-19 20:05:45 +02:00
|
|
|
groups = ["default"];
|
|
|
|
platforms = [];
|
|
|
|
source = {
|
|
|
|
remotes = ["https://rubygems.org"];
|
|
|
|
sha256 = "ff16aced6a4577a76bf429c853a055ff6511a06f8fee06028adc26aaf28f58cd";
|
|
|
|
type = "gem";
|
|
|
|
};
|
|
|
|
version = "1.0.0";
|
|
|
|
});
|
|
|
|
|
|
|
|
jekyll-minifier = (buildRubyGem {
|
|
|
|
gemName = "jekyll-minifier";
|
|
|
|
dependencies = [ cssminify2 htmlcompressor rubyPackages.jekyll json-minify rubyPackages.uglifier ];
|
|
|
|
groups = ["default"];
|
|
|
|
platforms = [];
|
|
|
|
source = {
|
|
|
|
remotes = ["https://rubygems.org"];
|
|
|
|
sha256 = "cd05bd9b2105f1dfd344397c480c17bea7d93871e239f5ca3949852ff1d938a3";
|
|
|
|
type = "gem";
|
|
|
|
};
|
|
|
|
version = "0.1.10";
|
|
|
|
});
|
|
|
|
|
|
|
|
jekyll-agda = (buildRubyGem {
|
|
|
|
gemName = "jekyll-agda";
|
|
|
|
dependencies = [ agda jekyll ];
|
|
|
|
groups = ["default"];
|
|
|
|
platforms = [];
|
|
|
|
source = {
|
|
|
|
remotes = ["https://rubygems.org"];
|
|
|
|
sha256 = "fb2af6ac3ce9f11260b1c3d8e28075f23436577e5172e7defa029fb90e808fa3";
|
|
|
|
type = "gem";
|
|
|
|
};
|
|
|
|
version = "0.1.0";
|
|
|
|
});
|
2023-12-08 22:09:59 +01:00
|
|
|
|
2023-12-09 15:05:40 +01:00
|
|
|
katex = (buildRubyGem {
|
|
|
|
gemName = "katex";
|
|
|
|
dependencies = [ rubyPackages.execjs ];
|
|
|
|
groups = ["default"];
|
|
|
|
platforms = [];
|
|
|
|
source = {
|
|
|
|
remotes = ["https://rubygems.org"];
|
|
|
|
sha256 = "f17360dd98b7b42288cb35dfa7d405ce9ec7e290c9d8a06d7f0fc8774fbfa6eb";
|
|
|
|
type = "gem";
|
|
|
|
};
|
|
|
|
version = "0.10.0";
|
|
|
|
});
|
|
|
|
|
|
|
|
kramdown-math-katex = (buildRubyGem {
|
|
|
|
gemName = "kramdown-math-katex";
|
|
|
|
dependencies = [ katex rubyPackages.kramdown ];
|
|
|
|
groups = ["default"];
|
|
|
|
platforms = [];
|
|
|
|
source = {
|
|
|
|
remotes = ["https://rubygems.org"];
|
|
|
|
sha256 = "7119b299fed5ec49b9e2107d18e88f90acf4bbdf1b82a7568fd488790bb04cdc";
|
|
|
|
type = "gem";
|
|
|
|
};
|
|
|
|
version = "1.0.1";
|
|
|
|
});
|
|
|
|
|
2023-12-08 22:09:59 +01:00
|
|
|
rubyEnv = ruby.withPackages (ps: with ps; [
|
2023-07-19 20:05:45 +02:00
|
|
|
jekyll
|
|
|
|
jekyll-feed
|
|
|
|
jekyll-katex
|
|
|
|
jekyll-minifier
|
|
|
|
jekyll-agda
|
2023-12-09 15:05:40 +01:00
|
|
|
kramdown-parser-gfm
|
|
|
|
kramdown-math-katex
|
|
|
|
katex
|
2023-12-08 22:09:59 +01:00
|
|
|
execjs
|
2023-12-09 15:05:40 +01:00
|
|
|
uglifier
|
2023-12-08 22:09:59 +01:00
|
|
|
htmlcompressor
|
2023-12-09 15:05:40 +01:00
|
|
|
cssminify2
|
2023-12-08 22:09:59 +01:00
|
|
|
json-minify
|
|
|
|
webrick
|
2023-12-09 15:41:39 +01:00
|
|
|
rouge
|
2023-12-08 22:09:59 +01:00
|
|
|
]);
|
|
|
|
in
|
2023-12-24 22:44:07 +01:00
|
|
|
[ nodejs inkscape scour ] ++ rubyEnv.gems
|