mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
html5validator: init at 0.3.3
This commit is contained in:
parent
8ff73e4f2f
commit
39b081fcd7
25
pkgs/applications/misc/html5validator/default.nix
Normal file
25
pkgs/applications/misc/html5validator/default.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{ buildPythonApplication, fetchFromGitHub, nose, openjdk, lib }:
|
||||||
|
|
||||||
|
buildPythonApplication rec {
|
||||||
|
pname = "html5validator";
|
||||||
|
version = "0.3.3";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "svenkreiss";
|
||||||
|
repo = "html5validator";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "130acqi0dsy3midg7hwslykzry6crr4ln6ia0f0avyywkz4bplsv";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ openjdk ];
|
||||||
|
|
||||||
|
checkInputs = [ nose ];
|
||||||
|
checkPhase = "PATH=$PATH:$out/bin nosetests";
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/svenkreiss/html5validator";
|
||||||
|
description = "Command line tool that tests files for HTML5 validity";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = [ maintainers.phunehehe ];
|
||||||
|
};
|
||||||
|
}
|
@ -187,6 +187,8 @@ in
|
|||||||
|
|
||||||
hobbes = callPackage ../development/tools/hobbes { };
|
hobbes = callPackage ../development/tools/hobbes { };
|
||||||
|
|
||||||
|
html5validator = python36Packages.callPackage ../applications/misc/html5validator { };
|
||||||
|
|
||||||
proto-contrib = callPackage ../development/tools/proto-contrib {};
|
proto-contrib = callPackage ../development/tools/proto-contrib {};
|
||||||
|
|
||||||
protoc-gen-doc = callPackage ../development/tools/protoc-gen-doc {};
|
protoc-gen-doc = callPackage ../development/tools/protoc-gen-doc {};
|
||||||
|
Loading…
Reference in New Issue
Block a user