biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / jet / default.nix
blobb71b7caee2e9e3fac103c6d0babb25cb5d7bbfef
1 { lib
2 , buildGraalvmNativeImage
3 , fetchurl
4 , testers
5 , jet
6 }:
8 buildGraalvmNativeImage rec {
9   pname = "jet";
10   version = "0.7.27";
12   src = fetchurl {
13     url = "https://github.com/borkdude/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar";
14     sha256 = "sha256-250/1DBNCXlU1b4jjLUUOXI+uSbOyPXtBN1JJRpdmFc=";
15   };
17   extraNativeImageBuildArgs = [
18     "-H:+ReportExceptionStackTraces"
19     "-H:Log=registerResource:"
20     "--no-fallback"
21     "--no-server"
22   ];
24   passthru.tests.version = testers.testVersion {
25     inherit version;
26     package = jet;
27     command = "jet --version";
28   };
30   meta = with lib; {
31     description = "CLI to transform between JSON, EDN, YAML and Transit, powered with a minimal query language";
32     homepage = "https://github.com/borkdude/jet";
33     sourceProvenance = with sourceTypes; [ binaryBytecode ];
34     license = licenses.epl10;
35     maintainers = with maintainers; [ ericdallo ];
36   };