mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
s2clientprotocol: init at 3.19.1.58600.0
This commit is contained in:
parent
2201774048
commit
ced67b114a
27
pkgs/development/python-modules/s2clientprotocol/default.nix
Normal file
27
pkgs/development/python-modules/s2clientprotocol/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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')
|
||||
|
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user