html5validator: 0.3.3 -> 0.4.2

Diff: https://github.com/svenkreiss/html5validator/compare/refs/tags/v0.3.3...v0.4.2

Changelog: https://github.com/svenkreiss/html5validator/releases/tag/v0.4.2

+26 -10
+26 -10
pkgs/applications/misc/html5validator/default.nix
··· 1 - { buildPythonApplication, fetchFromGitHub, nose, openjdk, lib }: 1 + { lib 2 + , fetchFromGitHub 3 + , openjdk 4 + , python3 5 + }: 2 6 3 - buildPythonApplication rec { 7 + python3.pkgs.buildPythonApplication rec { 4 8 pname = "html5validator"; 5 - version = "0.3.3"; 9 + version = "0.4.2"; 10 + format = "setuptools"; 6 11 7 12 src = fetchFromGitHub { 8 13 owner = "svenkreiss"; 9 14 repo = "html5validator"; 10 - rev = "v${version}"; 11 - sha256 = "130acqi0dsy3midg7hwslykzry6crr4ln6ia0f0avyywkz4bplsv"; 15 + rev = "refs/tags/v${version}"; 16 + hash = "sha256-yvclqE4+2R9q/UJU9W95U1/xVJeNj+5eKvT6VQel9k8="; 12 17 }; 13 18 14 - propagatedBuildInputs = [ openjdk ]; 19 + propagatedBuildInputs = [ 20 + openjdk 21 + ] ++ (with python3.pkgs; [ 22 + pyyaml 23 + ]); 15 24 16 - nativeCheckInputs = [ nose ]; 17 - checkPhase = "PATH=$PATH:$out/bin nosetests"; 25 + nativeCheckInputs = with python3.pkgs; [ 26 + hacking 27 + pytestCheckHook 28 + ]; 29 + 30 + preCheck = '' 31 + export PATH="$PATH:$out/bin"; 32 + ''; 18 33 19 34 meta = with lib; { 35 + description = "Command line tool that tests files for HTML5 validity"; 20 36 homepage = "https://github.com/svenkreiss/html5validator"; 21 - description = "Command line tool that tests files for HTML5 validity"; 37 + changelog = "https://github.com/svenkreiss/html5validator/releases/tag/v${version}"; 22 38 license = licenses.mit; 23 - maintainers = [ maintainers.phunehehe ]; 39 + maintainers = with maintainers; [ phunehehe ]; 24 40 }; 25 41 }