mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
30 lines
609 B
Nix
30 lines
609 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fastjson";
|
|
version = "1.2304.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rsyslog";
|
|
repo = "libfastjson";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-WnM6lQjHz0n5BwWWZoDBavURokcaROXJW46RZen9vj4=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
];
|
|
|
|
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;
|
|
};
|
|
}
|