1 { lib, stdenv, fetchFromGitHub, cmake, curl, testers }:
3 stdenv.mkDerivation (finalAttrs: {
7 src = fetchFromGitHub {
10 rev = "v${finalAttrs.version}";
11 hash = "sha256-dAfFSQ/UbAovQQr5AnCsyQtq1JkdQjvlG/SbuFnTx0E=";
14 nativeBuildInputs = [ cmake ];
16 buildInputs = [ curl ];
18 passthru.tests.version = testers.testVersion {
19 package = finalAttrs.finalPackage;
23 changelog = "https://github.com/adamritter/fastgron/releases/tag/${finalAttrs.src.rev}";
24 description = "High-performance JSON to GRON (greppable, flattened JSON) converter";
25 mainProgram = "fastgron";
26 homepage = "https://github.com/adamritter/fastgron";
27 license = licenses.mit;
28 maintainers = with maintainers; [ zowoq ];
29 platforms = platforms.all;