1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/xdis/default.nix
2020-01-07 21:05:10 -05:00

32 lines
638 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, isPy27
, click
, pytest
, six
}:
buildPythonPackage rec {
pname = "xdis";
version = "4.2.2";
disabled = isPy27;
src = fetchFromGitHub {
owner = "rocky";
repo = "python-xdis";
rev = version;
sha256 = "0d286myx6z6cbih77h8z5p9vscxvww3gy59lmi1w6y2nq6c8sqzb";
};
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;
};
}