93 lines
2.3 KiB
Nix
93 lines
2.3 KiB
Nix
with import <nixpkgs> {}; let
|
|
|
|
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 ];
|
|
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";
|
|
});
|
|
in
|
|
mkShell {
|
|
packages = [
|
|
nodejs
|
|
(ruby.withPackages (ps: with ps; [
|
|
jekyll
|
|
jekyll-feed
|
|
jekyll-katex
|
|
jekyll-minifier
|
|
jekyll-agda
|
|
]))
|
|
];
|
|
}
|