depot/third_party/nixpkgs/pkgs/development/libraries/fastjson/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

26 lines
652 B
Nix

{ lib, stdenv, fetchFromGitHub, libtool, autoconf, automake }:
stdenv.mkDerivation rec {
version = "0.99.9";
pname = "fastjson";
src = fetchFromGitHub {
repo = "libfastjson";
owner = "rsyslog";
rev = "v${version}";
sha256 = "sha256-2LyBdJR0dV1CElcGfrlmNwX52lVtx9X/Z4h/1XFjOIs=";
};
buildInputs = [ autoconf automake libtool ];
preConfigure = ''
sh autogen.sh
'';
meta = with lib; {
description = "A fast json library for C";
homepage = "https://github.com/rsyslog/libfastjson";
license = licenses.mit;
maintainers = with maintainers; [ nequissimus ];
platforms = with platforms; unix;
};
}