mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
25 lines
643 B
Nix
25 lines
643 B
Nix
{ lib, stdenv, fetchFromGitHub, libtool }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libmpack";
|
|
version = "1.0.5";
|
|
src = fetchFromGitHub {
|
|
owner = "libmpack";
|
|
repo = "libmpack";
|
|
rev = version;
|
|
sha256 = "0rai5djdkjz7bsn025k5489in7r1amagw1pib0z4qns6b52kiar2";
|
|
};
|
|
|
|
nativeBuildInputs = [ libtool ];
|
|
|
|
makeFlags = [ "LIBTOOL=libtool" "PREFIX=$(out)" ];
|
|
|
|
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;
|
|
};
|
|
}
|