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