about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libmpack/default.nix
blob: edb692d512d753b5707676bfe77c5d3d47495265 (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
25
26
{ lib, stdenv, fetchFromGitHub, libtool }:

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

  makeFlags = [
    "LIBTOOL=${libtool}/bin/libtool"
    "PREFIX=$(out)"
    "config=release"
  ];

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