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

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

30 lines
609 B
Nix
Raw Normal View History

2023-06-21 08:52:03 +00:00
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
}:
2016-04-04 18:24:44 +00:00
stdenv.mkDerivation rec {
pname = "fastjson";
2023-06-21 08:52:03 +00:00
version = "1.2304.0";
2016-04-04 18:24:44 +00:00
src = fetchFromGitHub {
owner = "rsyslog";
2023-06-21 08:52:03 +00:00
repo = "libfastjson";
rev = "refs/tags/v${version}";
hash = "sha256-WnM6lQjHz0n5BwWWZoDBavURokcaROXJW46RZen9vj4=";
2016-04-04 18:24:44 +00:00
};
2023-06-21 08:52:03 +00:00
nativeBuildInputs = [
autoreconfHook
];
2016-04-04 18:24:44 +00:00
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
};
}