adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

28 lines
567 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/sc2client-proto";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ];
};
}