depot/third_party/nixpkgs/pkgs/by-name/fa/fastJson/package.nix

30 lines
603 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
}:
stdenv.mkDerivation rec {
pname = "fastjson";
version = "1.2304.0";
src = fetchFromGitHub {
owner = "rsyslog";
repo = "libfastjson";
tag = "v${version}";
hash = "sha256-WnM6lQjHz0n5BwWWZoDBavURokcaROXJW46RZen9vj4=";
};
nativeBuildInputs = [
autoreconfHook
];
meta = with lib; {
description = "Fast json library for C";
homepage = "https://github.com/rsyslog/libfastjson";
license = licenses.mit;
maintainers = with maintainers; [ nequissimus ];
platforms = with platforms; unix;
};
}