yajsv: init at 1.4.0
This commit is contained in:
parent
e5d7a292d1
commit
5ac54b6c88
28
pkgs/tools/misc/yajsv/default.nix
Normal file
28
pkgs/tools/misc/yajsv/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ buildGoModule, fetchFromGitHub, lib }:
|
||||
|
||||
let version = "1.4.0";
|
||||
in buildGoModule {
|
||||
pname = "yajsv";
|
||||
version = version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "neilpa";
|
||||
repo = "yajsv";
|
||||
rev = "v${version}";
|
||||
sha256 = "0smaij3905fqgcjmnfs58r6silhp3hyv7ccshk7n13fmllmsm7v7";
|
||||
};
|
||||
|
||||
vendorSha256 = "0rmc31i5jra2qcqhw1azflmhawxasrq0d6qwd6qp250sj1jr6ahq";
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
$out/bin/yajsv -v > /dev/null
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Yet Another JSON Schema Validator";
|
||||
homepage = "https://github.com/neilpa/yajsv";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ rycee ];
|
||||
};
|
||||
}
|
@ -10168,6 +10168,8 @@ in
|
||||
|
||||
yafaray-core = callPackage ../tools/graphics/yafaray-core { };
|
||||
|
||||
yajsv = callPackage ../tools/misc/yajsv { };
|
||||
|
||||
yapf = with python3Packages; toPythonApplication yapf;
|
||||
|
||||
yarn = callPackage ../development/tools/yarn { };
|
||||
|
Loading…
Reference in New Issue
Block a user