Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 33 lines 745 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy3k 5, protobuf 6, googleapis-common-protos 7, pytestCheckHook 8, pytz 9}: 10 11buildPythonPackage rec { 12 pname = "proto-plus"; 13 version = "1.18.1"; 14 disabled = !isPy3k; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "cfc45474c7eda0fe3c4b9eca2542124f2a0ff5543242bec61e8d08bce0f5bd48"; 19 }; 20 21 propagatedBuildInputs = [ protobuf ]; 22 23 checkInputs = [ pytestCheckHook pytz googleapis-common-protos ]; 24 25 pythonImportsCheck = [ "proto" ]; 26 27 meta = with lib; { 28 description = "Beautiful, idiomatic protocol buffers in Python"; 29 homepage = "https://github.com/googleapis/proto-plus-python"; 30 license = licenses.asl20; 31 maintainers = with maintainers; [ ruuda SuperSandro2000 ]; 32 }; 33}