8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
24 lines
644 B
Nix
24 lines
644 B
Nix
{ stdenv, fetchFromGitHub, libtool }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libmpack";
|
|
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 ];
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
};
|
|
}
|