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