1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-13 16:15:30 +00:00
nixpkgs/pkgs/development/libraries/fastjson/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

27 lines
653 B
Nix

{ stdenv, fetchFromGitHub, libtool, autoconf, automake }:
stdenv.mkDerivation rec {
version = "0.99.8";
pname = "fastjson";
src = fetchFromGitHub {
repo = "libfastjson";
owner = "rsyslog";
rev = "v${version}";
sha256 = "0qhs0g9slj3p0v2z4s3cnsx44msrlb4k78ljg7714qiziqbrbwyl";
};
buildInputs = [ autoconf automake libtool ];
preConfigure = ''
sh autogen.sh
'';
meta = with stdenv.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;
};
}