nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 17.09 26 lines 693 B view raw
1{ stdenv, fetchFromGitHub, libtool, autoconf, automake }: 2 3stdenv.mkDerivation rec { 4 version = "v0.99.4"; 5 name = "fastjson-${version}"; 6 src = fetchFromGitHub { 7 repo = "libfastjson"; 8 owner = "rsyslog"; 9 rev = "6e057a094cb225c9d80d8d6e6b1f36ca88a942dd"; 10 sha256 = "1pn207p9zns0aqm6z5l5fdgb94wyyhaw83lyvyfdxmai74nbqs65"; 11 }; 12 13 buildInputs = [ autoconf automake libtool ]; 14 15 preConfigure = '' 16 sh autogen.sh 17 ''; 18 19 meta = with stdenv.lib; { 20 description = "A fast json library for C"; 21 homepage = https://github.com/rsyslog/libfastjson; 22 license = licenses.mit; 23 maintainers = with maintainers; [ nequissimus ]; 24 platforms = with platforms; unix; 25 }; 26}