mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
23 lines
572 B
Nix
23 lines
572 B
Nix
{ stdenv, fetchFromGitHub, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "protozero";
|
|
version = "1.6.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mapbox";
|
|
repo = "protozero";
|
|
rev = "v${version}";
|
|
sha256 = "1ryvn3iwxiaih3mvyy45nbwxnhzfc8vby0xh9m6d6fpakhcpf6s3";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Minimalistic protocol buffer decoder and encoder in C++";
|
|
homepage = "https://github.com/mapbox/protozero";
|
|
license = with licenses; [ bsd2 asl20 ];
|
|
maintainers = with maintainers; [ das-g ];
|
|
};
|
|
}
|