Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 24 lines 659 B view raw
1{ stdenv, fetchFromGitHub, libtool }: 2 3stdenv.mkDerivation rec { 4 name = "libmpack-${version}"; 5 version = "1.0.5"; 6 src = fetchFromGitHub { 7 owner = "tarruda"; 8 repo = "libmpack"; 9 rev = version; 10 sha256 = "0rai5djdkjz7bsn025k5489in7r1amagw1pib0z4qns6b52kiar2"; 11 }; 12 13 nativeBuildInputs = [ libtool ]; 14 15 makeFlags = [ "LIBTOOL=libtool" "PREFIX=$(out)" ]; 16 17 meta = with stdenv.lib; { 18 description = "Simple implementation of msgpack in C"; 19 homepage = https://github.com/tarruda/libmpack/; 20 license = licenses.mit; 21 maintainers = with maintainers; [ lovek323 garbas ]; 22 platforms = platforms.linux ++ platforms.darwin; 23 }; 24}