nixpkgs-suyu/pkgs/development/python-modules/xdis/default.nix
Jonathan Ringer 37f161014f pythonPackages.xdis: mark broken
Very specific to patch version of python interpreter,
unfortunately doesn't support newest versions
2019-12-30 16:46:51 +01:00

32 lines
703 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, isPy27
, click
, pytest
, six
}:
buildPythonPackage rec {
pname = "xdis";
version = "4.2.1";
disabled = isPy27;
src = fetchFromGitHub {
owner = "rocky";
repo = "python-xdis";
rev = version;
sha256 = "19mnx746k9ls2f1321fl8nkps7x9by80f753f3c5wh1j91zivq6b";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [ six click ];
checkPhase = ''
make check
'';
meta = with lib; {
description = "Python cross-version byte-code disassembler and marshal routines";
homepage = https://github.com/rocky/python-xdis/;
license = licenses.gpl2;
broken = true; # doesn't support latest python3 interpreters
};
}