nixpkgs/pkgs/development/libraries/fastjson/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
679 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, libtool, autoconf, automake }:
2016-04-04 18:24:44 +00:00
stdenv.mkDerivation rec {
2021-01-30 11:25:14 +00:00
version = "0.99.9";
pname = "fastjson";
2016-04-04 18:24:44 +00:00
src = fetchFromGitHub {
repo = "libfastjson";
owner = "rsyslog";
2018-08-07 23:32:00 +00:00
rev = "v${version}";
2021-01-30 11:25:14 +00:00
sha256 = "sha256-2LyBdJR0dV1CElcGfrlmNwX52lVtx9X/Z4h/1XFjOIs=";
2016-04-04 18:24:44 +00:00
};
nativeBuildInputs = [ autoconf automake ];
buildInputs = [ libtool ];
2016-04-04 18:24:44 +00:00
preConfigure = ''
sh autogen.sh
'';
meta = with lib; {
2016-04-04 18:24:44 +00:00
description = "A fast json library for C";
homepage = "https://github.com/rsyslog/libfastjson";
2016-04-04 18:24:44 +00:00
license = licenses.mit;
maintainers = with maintainers; [ nequissimus ];
platforms = with platforms; unix;
2016-04-04 18:24:44 +00:00
};
}