summary refs log tree commit diff
path: root/pkgs/development/libraries/libmpack/default.nix
blob: 2754c726da2bd66c97eb739e31b8c60257d62407 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchFromGitHub, libtool }:

stdenv.mkDerivation rec {
  name = "libmpack-${version}";
  version = "1.0.5";
  src = fetchFromGitHub {
    owner = "tarruda";
    repo = "libmpack";
    rev = version;
    sha256 = "0rai5djdkjz7bsn025k5489in7r1amagw1pib0z4qns6b52kiar2";
  };

  nativeBuildInputs = [ libtool ];

  makeFlags = [ "LIBTOOL=libtool" "PREFIX=$(out)" ];

  meta = with stdenv.lib; {
    description = "Simple implementation of msgpack in C";
    homepage = https://github.com/tarruda/libmpack/;
    license = licenses.mit;
    maintainers = with maintainers; [ lovek323 garbas ];
    platforms = platforms.linux ++ platforms.darwin;
  };
}