aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/xdis
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2019-08-20 15:20:02 -0700
committerJonathan Ringer <jonringer117@gmail.com>2019-08-21 10:43:10 -0700
commit061b65489f241d460125ded593a2302111092f38 (patch)
treeb0f41ff0e6141b62192e198680e64abc5b29906e /pkgs/development/python-modules/xdis
parentbacf5619e253214212dfc004eb18a6f0be07d367 (diff)
python3Packages.xdis: 4.0.1 -> 4.0.3
Diffstat (limited to 'pkgs/development/python-modules/xdis')
-rw-r--r--pkgs/development/python-modules/xdis/default.nix18
1 files changed, 9 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/xdis/default.nix b/pkgs/development/python-modules/xdis/default.nix
index e5d06a3c694..5fc7f55d419 100644
--- a/pkgs/development/python-modules/xdis/default.nix
+++ b/pkgs/development/python-modules/xdis/default.nix
@@ -1,18 +1,18 @@
-{ stdenv
-, buildPythonPackage
-, fetchPypi
+{ lib, buildPythonPackage, fetchFromGitHub
+, click
, pytest
, six
-, click
}:
buildPythonPackage rec {
pname = "xdis";
- version = "4.0.1";
+ version = "4.0.3";
- src = fetchPypi {
- inherit pname version;
- sha256 = "1ifakxxawyxw4w4p58m4xdc0c955miqyaq3dfbl386ipw0f50kyz";
+ src = fetchFromGitHub {
+ owner = "rocky";
+ repo = "python-xdis";
+ rev = version;
+ sha256 = "1h4j8hincf49zyd0rvn4bh0ypj8836y8vz3d496ycb9gjzkr6044";
};
checkInputs = [ pytest ];
@@ -22,7 +22,7 @@ buildPythonPackage rec {
make check
'';
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Python cross-version byte-code disassembler and marshal routines";
homepage = https://github.com/rocky/python-xdis/;
license = licenses.gpl2;