From b854e83183ab92e05e8697f2f94d10aa60c59492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 25 Aug 2017 12:50:41 +0100 Subject: [PATCH] pythonPackages.matrix-client: don't pass pythonPackages --- pkgs/development/python-modules/matrix-client/default.nix | 7 ++++--- pkgs/top-level/python-packages.nix | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/matrix-client/default.nix b/pkgs/development/python-modules/matrix-client/default.nix index d0bbef8a78f..20af252f58f 100644 --- a/pkgs/development/python-modules/matrix-client/default.nix +++ b/pkgs/development/python-modules/matrix-client/default.nix @@ -1,7 +1,8 @@ { stdenv , buildPythonPackage , fetchPypi -, pythonPackages +, requests +, tox, pytest, flake8, responses }: buildPythonPackage rec { @@ -14,9 +15,9 @@ buildPythonPackage rec { sha256 = "15kx5px26hwr0sxpyjk4w61fjnabg1b57hwys1nyarc0jx4qjhiq"; }; - checkInputs = with pythonPackages; [ tox pytest flake8 responses ]; + checkInputs = [ tox pytest flake8 responses ]; - propagatedBuildInputs = with pythonPackages; [ requests ]; + propagatedBuildInputs = [ requests ]; checkPhase = '' pytest diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d00d7f5d164..894742625b3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12539,7 +12539,7 @@ in { inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa; }; - matrix-client = callPackage ../development/python-modules/matrix-client/default.nix { pythonPackages = self; }; + matrix-client = callPackage ../development/python-modules/matrix-client/default.nix { }; mccabe = callPackage ../development/python-modules/mccabe { };