1{ 2 buildPythonPackage, 3 lib, 4 fetchPypi, 5 protobuf, 6}: 7 8buildPythonPackage rec { 9 pname = "s2clientprotocol"; 10 version = "3.19.1.58600.0"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "02jqwdfj5zpag4c5nf0707qmwk7sqm98yfgrd19rq6pi58zgl74f"; 16 }; 17 18 patches = [ ./pure-version.patch ]; 19 20 buildInputs = [ protobuf ]; 21 22 meta = { 23 description = "StarCraft II - client protocol."; 24 homepage = "https://github.com/Blizzard/sc2client-proto"; 25 license = lib.licenses.mit; 26 maintainers = with lib.maintainers; [ ]; 27 }; 28}