@@ -1,9 +1,7 @@
1−{ lib, buildPythonPackage, fetchFromGitHub
2−, python3, protobuf3_6
3−}:
1+{ lib, buildPythonPackage, fetchFromGitHub, python, protobuf3_6 }:
42
53let
6− python = python3.override {
4+ py = python.override {
75 packageOverrides = self: super: {
86 protobuf = super.protobuf.override {
97 protobuf = protobuf3_6;
@@ -21,7 +19,7 @@ in buildPythonPackage rec {
2119 sha256 = "1jscmc5s7mwx43gvxjlqc30ylp5jjpmkqx7s3b9nllbh926p3ixg";
2220 };
2321
24− propagatedBuildInputs = with python.pkgs; [ protobuf dnspython ];
22+ propagatedBuildInputs = with py.pkgs; [ protobuf dnspython ];
2523
2624 # Tests are failing (TODO: unknown reason)
2725 # TypeError: __init__() missing 1 required positional argument: 'string'