python3Packages.bytecode: 0.11.0 -> 0.12.0

This commit is contained in:
Fabian Affolter 2021-07-06 10:57:10 +02:00
parent 535271377f
commit 6f4741747c

View file

@ -2,12 +2,13 @@
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pythonOlder , pythonOlder
, aenum , pytestCheckHook
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "bytecode"; pname = "bytecode";
version = "0.12.0"; version = "0.12.0";
disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "vstinner"; owner = "vstinner";
@ -16,9 +17,11 @@ buildPythonPackage rec {
sha256 = "sha256-CEfDoJ+JlnxLLVnSxv7bEN891tmwG9zAvtT8GNvp8JU="; sha256 = "sha256-CEfDoJ+JlnxLLVnSxv7bEN891tmwG9zAvtT8GNvp8JU=";
}; };
disabled = pythonOlder "3.5"; checkInputs = [
pytestCheckHook
];
propagatedBuildInputs = lib.optionals (pythonOlder "3.6") [ aenum ]; pythonImportsCheck = [ "bytecode" ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/vstinner/bytecode"; homepage = "https://github.com/vstinner/bytecode";