mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
9683252541
Diff: https://github.com/adamritter/fastgron/compare/v0.7.0...v0.7.7 Changelog: https://github.com/adamritter/fastgron/releases/tag/v0.7.7
31 lines
848 B
Nix
31 lines
848 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, curl, testers }:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "fastgron";
|
|
version = "0.7.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "adamritter";
|
|
repo = "fastgron";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-dAfFSQ/UbAovQQr5AnCsyQtq1JkdQjvlG/SbuFnTx0E=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
})
|