s2clientprotocol: init at 3.19.1.58600.0

This commit is contained in:
Dan Haraj 2017-11-14 14:32:21 -05:00
parent 2201774048
commit ced67b114a
3 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ buildPythonPackage
, lib
, fetchPypi
, protobuf
}:
buildPythonPackage rec {
pname = "s2clientprotocol";
version = "3.19.1.58600.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "02jqwdfj5zpag4c5nf0707qmwk7sqm98yfgrd19rq6pi58zgl74f";
};
patches = [ ./pure-version.patch ];
buildInputs = [ protobuf ];
meta = {
description = "StarCraft II - client protocol.";
homepage = "https://github.com/Blizzard/sc2client-proto";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ danharaj ];
};
}

View file

@ -0,0 +1,13 @@
diff --git a/setup.py b/setup.py
index 89131a8..19527df 100755
--- a/setup.py
+++ b/setup.py
@@ -13,8 +13,6 @@ from distutils.spawn import find_executable
from setuptools import setup
from setuptools.command.build_py import build_py
-import gameversion_autogen as ver
-
SETUP_DIR = os.path.dirname(os.path.abspath(__file__))
PROTO_DIR = os.path.join(SETUP_DIR, 's2clientprotocol')

View file

@ -7184,6 +7184,7 @@ in {
meta.broken = true; # Tests fail, and no reverse-dependencies anyway
};
s2clientprotocol = callPackage ../development/python-modules/s2clientprotocol { };
statsd = buildPythonPackage rec {
name = "statsd-${version}";