Merge pull request #129046 from fabaff/bump-bytecode

python3Packages.bytecode: 0.11.0 -> 0.12.0
This commit is contained in:
Fabian Affolter 2021-07-06 11:19:10 +02:00 committed by GitHub
commit c4bcd3845c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,23 +2,26 @@
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, aenum
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "bytecode";
version = "0.11.0";
version = "0.12.0";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "vstinner";
repo = pname;
rev = version;
sha256 = "097k83zr0z71pha7bafzhs4ink174wk9ls2883bic274rihsnc5r";
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";