Merge pull request #306835 from ibizaman/jsonschema

jsonschema: init at 5.3.1

authored by Pol Dellaiera and committed by GitHub 6af8e3aa ed24a0ba

+36
+36
pkgs/by-name/js/jsonschema/package.nix
···
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + , nix-update-script 5 + }: 6 + 7 + buildGoModule rec { 8 + pname = "jsonschema"; 9 + version = "5.3.1"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "santhosh-tekuri"; 13 + repo = "jsonschema"; 14 + rev = "refs/tags/v${version}"; 15 + hash = "sha256-ANo9OkdNVCjV5uEqr9lNNbStquNb/3oxuTfMqE2nUzo="; 16 + }; 17 + 18 + sourceRoot = "source/cmd/jv"; 19 + passthru.updateScript = nix-update-script { }; 20 + 21 + vendorHash = "sha256-FuUkC7iwn/jO3fHjT9nGUXc2X1QuuxPc8DAzVpzhANk="; 22 + 23 + ldflags = [ 24 + "-s" 25 + "-w" 26 + ]; 27 + 28 + meta = { 29 + description = "JSON schema compilation and validation"; 30 + homepage = "https://github.com/santhosh-tekuri/jsonschema"; 31 + changelog = "https://github.com/santhosh-tekuri/jsonschema/releases/tag/v${version}"; 32 + license = lib.licenses.asl20; 33 + mainProgram = "jv"; 34 + maintainers = with lib.maintainers; [ ibizaman ]; 35 + }; 36 + }