fastJson: cleanup, use autoreconfHook
This commit is contained in:
parent
b51a53644c
commit
08a31d7ab8
|
@ -1,21 +1,23 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, libtool, autoconf, automake }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, autoreconfHook
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.2304.0";
|
|
||||||
pname = "fastjson";
|
pname = "fastjson";
|
||||||
|
version = "1.2304.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
repo = "libfastjson";
|
|
||||||
owner = "rsyslog";
|
owner = "rsyslog";
|
||||||
rev = "v${version}";
|
repo = "libfastjson";
|
||||||
sha256 = "sha256-WnM6lQjHz0n5BwWWZoDBavURokcaROXJW46RZen9vj4=";
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-WnM6lQjHz0n5BwWWZoDBavURokcaROXJW46RZen9vj4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoconf automake ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ libtool ];
|
autoreconfHook
|
||||||
|
];
|
||||||
preConfigure = ''
|
|
||||||
sh autogen.sh
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A fast json library for C";
|
description = "A fast json library for C";
|
||||||
|
|
Loading…
Reference in a new issue