2018-10-16 23:03:41 +02:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2018-10-25 20:04:28 +02:00
|
|
|
, pytest
|
2018-10-16 23:03:41 +02:00
|
|
|
, six
|
2018-10-25 20:04:28 +02:00
|
|
|
, click
|
2018-10-16 23:03:41 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "xdis";
|
2018-10-25 20:04:28 +02:00
|
|
|
version = "3.8.8";
|
2018-10-16 23:03:41 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-25 20:04:28 +02:00
|
|
|
sha256 = "4d212df8a85ab55a35f6ad71b2c29818d903c3e6a95e31eb26d5f3fc66a4e015";
|
2018-10-16 23:03:41 +02:00
|
|
|
};
|
|
|
|
|
2018-10-25 20:04:28 +02:00
|
|
|
checkInputs = [ pytest ];
|
|
|
|
propagatedBuildInputs = [ six click ];
|
|
|
|
|
|
|
|
# newest release moves to pytest (tests not packaged with release)
|
|
|
|
doCheck = false;
|
2018-10-16 23:03:41 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python cross-version byte-code disassembler and marshal routines";
|
|
|
|
homepage = https://github.com/rocky/python-xdis/;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|