From 6f4741747c8918780490ef398626a65e66fbaafc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 6 Jul 2021 10:57:10 +0200 Subject: [PATCH] python3Packages.bytecode: 0.11.0 -> 0.12.0 --- pkgs/development/python-modules/bytecode/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/bytecode/default.nix b/pkgs/development/python-modules/bytecode/default.nix index fc0a3a6cab77..75d4f38b2c3d 100644 --- a/pkgs/development/python-modules/bytecode/default.nix +++ b/pkgs/development/python-modules/bytecode/default.nix @@ -2,12 +2,13 @@ , buildPythonPackage , fetchFromGitHub , pythonOlder -, aenum +, pytestCheckHook }: buildPythonPackage rec { pname = "bytecode"; version = "0.12.0"; + disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "vstinner"; @@ -16,9 +17,11 @@ buildPythonPackage rec { sha256 = "sha256-CEfDoJ+JlnxLLVnSxv7bEN891tmwG9zAvtT8GNvp8JU="; }; - disabled = pythonOlder "3.5"; + checkInputs = [ + pytestCheckHook + ]; - propagatedBuildInputs = lib.optionals (pythonOlder "3.6") [ aenum ]; + pythonImportsCheck = [ "bytecode" ]; meta = with lib; { homepage = "https://github.com/vstinner/bytecode";