nixpkgs/pkgs/development/libraries/msgpuck/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

26 lines
675 B
Nix

{ stdenv, fetchFromGitHub, cmake, pkgconfig }:
stdenv.mkDerivation rec {
pname = "msgpuck";
version = "2.0";
src = fetchFromGitHub {
owner = "rtsisyk";
repo = "msgpuck";
rev = "${version}";
sha256 = "0cjq86kncn3lv65vig9cqkqqv2p296ymcjjbviw0j1s85cfflps0";
};
outputs = [ "out" "dev" ];
nativeBuildInputs = [ cmake pkgconfig ];
meta = with stdenv.lib; {
description = ''A simple and efficient MsgPack binary serialization library in a self-contained header file'';
homepage = https://github.com/rtsisyk/msgpuck;
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = with maintainers; [ izorkin ];
};
}