Commit 081dd072 authored by Christopher League's avatar Christopher League
Browse files

command-line HTML/CSS validator

parent 41d0d9ca
......@@ -59,6 +59,7 @@ in
firefox
flameshot
tmux
(callPackage ./vnu.nix {})
];
};
}
......@@ -174,14 +174,3 @@ It's also downloading all of google-fonts.
Maybe the binary cache has to take effect first, then
we can attempt to use it.
* Testing how tables look in gitlab
| Ant | Bee | Cat | Dog |
|-----+-----+-----+-----|
| 1 | 2 | 3 | 4 |
|-----+-----+-----+-----|
| 13 | 14 | 15 | 18 |
| 21 | 19 | 33 | 44 |
{ stdenv, fetchurl, unzip, jre, makeWrapper }:
stdenv.mkDerivation {
name = "vnu";
buildInputs = [unzip];
src = fetchurl {
url = "https://github.com/validator/validator/releases/download/18.11.5/vnu.jar_18.11.5.zip";
sha256 = "0qhqqnkr0h2l6w2sl1r1v2i9qf5ik11ci321inf50w8nnlx5ly5r";
};
nativeBuildInputs = [makeWrapper];
phases = ["unpackPhase" "installPhase"];
installPhase = ''
mkdir -pv $out/{bin,lib}
cp vnu.jar $out/lib
makeWrapper ${jre}/bin/java $out/bin/vnu --add-flags "-jar $out/lib/vnu.jar"
'';
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment