1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 05:25:38 +00:00
nixpkgs/pkgs/development/libraries/libmpack/default.nix

25 lines
667 B
Nix
Raw Normal View History

2016-05-15 05:52:29 +01:00
{ stdenv, fetchFromGitHub, libtool }:
stdenv.mkDerivation rec {
name = "libmpack-${version}";
version = "1.0.5";
2016-05-15 05:52:29 +01:00
src = fetchFromGitHub {
owner = "tarruda";
repo = "libmpack";
rev = version;
sha256 = "0rai5djdkjz7bsn025k5489in7r1amagw1pib0z4qns6b52kiar2";
2016-05-15 05:52:29 +01:00
};
2016-06-12 03:00:47 +01:00
LIBTOOL = "libtool";
2016-05-15 05:52:29 +01:00
buildInputs = [ libtool ];
preInstall = ''
export PREFIX=$out
2016-05-15 05:52:29 +01:00
'';
meta = with stdenv.lib; {
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 garbas ];
platforms = platforms.linux ++ platforms.darwin;
2016-05-15 05:52:29 +01:00
};
}