git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.bytecode: 0.11.0 -> 0.12.0
commit6f4741747c8918780490ef398626a65e66fbaafc authorFabian Affolter <mail@fabian-affolter.ch> dateTue 6 Jul 2021, 10:57 (5 years ago) parent5352713
1 file changed+6−3
pkgs/development/python-modules/bytecode/default.nix+6−3
pkgs/development/python-modules/bytecode/default.nix+6−3
@@ -2,12 +2,13 @@
22, buildPythonPackage
33, fetchFromGitHub
44, pythonOlder
5−, aenum
5+, pytestCheckHook
66}:
77
88buildPythonPackage rec {
99 pname = "bytecode";
1010 version = "0.12.0";
11+ disabled = pythonOlder "3.6";
1112
1213 src = fetchFromGitHub {
1314 owner = "vstinner";
@@ -16,9 +17,11 @@ buildPythonPackage rec {
1617 sha256 = "sha256-CEfDoJ+JlnxLLVnSxv7bEN891tmwG9zAvtT8GNvp8JU=";
1718 };
1819
19− disabled = pythonOlder "3.5";
20+ checkInputs = [
21+ pytestCheckHook
22+ ];
2023
21− propagatedBuildInputs = lib.optionals (pythonOlder "3.6") [ aenum ];
24+ pythonImportsCheck = [ "bytecode" ];
2225
2326 meta = with lib; {
2427 homepage = "https://github.com/vstinner/bytecode";