nixpkgs/pkgs/development/libraries/libmpack/default.nix

25 lines
643 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, libtool }:
2016-05-15 05:52:29 +01:00
stdenv.mkDerivation rec {
pname = "libmpack";
version = "1.0.5";
2016-05-15 05:52:29 +01:00
src = fetchFromGitHub {
owner = "libmpack";
2016-05-15 05:52:29 +01:00
repo = "libmpack";
rev = version;
sha256 = "0rai5djdkjz7bsn025k5489in7r1amagw1pib0z4qns6b52kiar2";
2016-05-15 05:52:29 +01:00
};
nativeBuildInputs = [ libtool ];
makeFlags = [ "LIBTOOL=libtool" "PREFIX=$(out)" ];
meta = with lib; {
2016-05-15 05:52:29 +01:00
description = "Simple implementation of msgpack in C";
homepage = "https://github.com/tarruda/libmpack/";
2016-05-15 05:52:29 +01:00
license = licenses.mit;
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.linux ++ platforms.darwin;
2016-05-15 05:52:29 +01:00
};
}