Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christopher League
nixvm
Commits
081dd072
Commit
081dd072
authored
Jan 27, 2019
by
Christopher League
Browse files
command-line HTML/CSS validator
parent
41d0d9ca
Changes
3
Hide whitespace changes
Inline
Side-by-side
desktop.nix
View file @
081dd072
...
...
@@ -59,6 +59,7 @@ in
firefox
flameshot
tmux
(
callPackage
./vnu.nix
{})
];
};
}
notes.org
View file @
081dd072
...
...
@@ -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 |
vnu.nix
0 → 100644
View file @
081dd072
{
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"
''
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment