biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / fastgron / default.nix
blob5b5796cc7014c63000d3b3c1612c1dad8488a151
1 { lib, stdenv, fetchFromGitHub, cmake, curl, testers }:
3 stdenv.mkDerivation (finalAttrs: {
4   pname = "fastgron";
5   version = "0.7.7";
7   src = fetchFromGitHub {
8     owner = "adamritter";
9     repo = "fastgron";
10     rev = "v${finalAttrs.version}";
11     hash = "sha256-dAfFSQ/UbAovQQr5AnCsyQtq1JkdQjvlG/SbuFnTx0E=";
12   };
14   nativeBuildInputs = [ cmake ];
16   buildInputs = [ curl ];
18   passthru.tests.version = testers.testVersion {
19     package = finalAttrs.finalPackage;
20   };
22   meta = with lib; {
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;
30   };