diff --git a/pkgs/development/tools/fastgron/default.nix b/pkgs/development/tools/fastgron/default.nix new file mode 100644 index 000000000000..17996d697e63 --- /dev/null +++ b/pkgs/development/tools/fastgron/default.nix @@ -0,0 +1,30 @@ +{ lib, stdenv, fetchFromGitHub, cmake, curl, testers }: + +stdenv.mkDerivation (finalAttrs: { + pname = "fastgron"; + version = "0.6.2"; + + src = fetchFromGitHub { + owner = "adamritter"; + repo = "fastgron"; + rev = "v${finalAttrs.version}"; + hash = "sha256-SqJdJnepfX/qHiACjpaTNM+/lApcADCCbcX+BNgXswg="; + }; + + nativeBuildInputs = [ cmake ]; + + buildInputs = [ curl ]; + + passthru.tests.version = testers.testVersion { + package = finalAttrs.finalPackage; + }; + + meta = with lib; { + changelog = "https://github.com/adamritter/fastgron/releases/tag/${finalAttrs.src.rev}"; + description = "High-performance JSON to GRON (greppable, flattened JSON) converter"; + homepage = "https://github.com/adamritter/fastgron"; + license = licenses.mit; + maintainers = with maintainers; [ zowoq ]; + platforms = platforms.all; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7b42eeb42cdb..9357c0743388 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -18722,6 +18722,8 @@ with pkgs; fastddsgen = callPackage ../development/tools/fastddsgen { }; + fastgron = callPackage ../development/tools/fastgron { }; + findbugs = callPackage ../development/tools/analysis/findbugs { }; findnewest = callPackage ../development/tools/misc/findnewest { };