nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.09 26 lines 655 B view raw
1{ stdenv, fetchFromGitHub, libtool, autoconf, automake }: 2 3stdenv.mkDerivation rec { 4 version = "0.99.8"; 5 pname = "fastjson"; 6 src = fetchFromGitHub { 7 repo = "libfastjson"; 8 owner = "rsyslog"; 9 rev = "v${version}"; 10 sha256 = "0qhs0g9slj3p0v2z4s3cnsx44msrlb4k78ljg7714qiziqbrbwyl"; 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}