The upstream repo and package is called libfastjson. Why was this package named fastJson?
30 lines
572 B
Nix
30 lines
572 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "libfastjson";
|
|
version = "1.2304.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rsyslog";
|
|
repo = "libfastjson";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-WnM6lQjHz0n5BwWWZoDBavURokcaROXJW46RZen9vj4=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
];
|
|
|
|
meta = {
|
|
description = "Fast json library for C";
|
|
homepage = "https://github.com/rsyslog/libfastjson";
|
|
license = lib.licenses.mit;
|
|
platforms = with lib.platforms; unix;
|
|
};
|
|
})
|