31 lines
654 B
Nix
31 lines
654 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy3k
|
|
, protobuf
|
|
, google_api_core
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "proto-plus";
|
|
version = "1.10.1";
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0n8ia51jg2dkab2sf0qnh39bssqhz65ybcqr78f3zzf7ja923lkr";
|
|
};
|
|
|
|
propagatedBuildInputs = [ protobuf ];
|
|
|
|
checkInputs = [ pytestCheckHook google_api_core ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Beautiful, idiomatic protocol buffers in Python";
|
|
homepage = "https://github.com/googleapis/proto-plus-python";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.ruuda ];
|
|
};
|
|
}
|