openxray: 2188-november-2023-rc1 -> 2921-january-2025-rc1 (#375925)
[NixPkgs.git] / pkgs / by-name / li / libmpack / package.nix
blob00b8d72d28b6207d5d147f21f7ca935c6fdba27b
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   libtool,
6 }:
8 stdenv.mkDerivation rec {
9   pname = "libmpack";
10   version = "1.0.5";
11   src = fetchFromGitHub {
12     owner = "libmpack";
13     repo = "libmpack";
14     rev = version;
15     sha256 = "0rai5djdkjz7bsn025k5489in7r1amagw1pib0z4qns6b52kiar2";
16   };
18   makeFlags = [
19     "LIBTOOL=${libtool}/bin/libtool"
20     "PREFIX=$(out)"
21     "config=release"
22   ];
24   meta = with lib; {
25     description = "Simple implementation of msgpack in C";
26     homepage = "https://github.com/tarruda/libmpack/";
27     license = licenses.mit;
28     maintainers = with maintainers; [ lovek323 ];
29     platforms = platforms.linux ++ platforms.darwin;
30   };