nixpkgs/pkgs/development/python-modules/xdis/default.nix

31 lines
631 B
Nix
Raw Normal View History

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