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