1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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
, 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";