depot/third_party/nixpkgs/pkgs/development/python-modules/s2clientprotocol/default.nix

28 lines
549 B
Nix

{
buildPythonPackage,
lib,
fetchPypi,
protobuf,
}:
buildPythonPackage rec {
pname = "s2clientprotocol";
version = "3.19.1.58600.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "02jqwdfj5zpag4c5nf0707qmwk7sqm98yfgrd19rq6pi58zgl74f";
};
patches = [ ./pure-version.patch ];
buildInputs = [ protobuf ];
meta = {
description = "StarCraft II - client protocol";
homepage = "https://github.com/Blizzard/s2client-proto";
license = lib.licenses.mit;
maintainers = [ ];
};
}