about summary refs log tree commit diff
path: root/pkgs/development/python-modules/distorm3
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-10-04 11:18:29 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2021-10-04 11:18:29 +0200
commit0063d3d668cf93fcdefa7f4b4778ddc59d588443 (patch)
tree1088d0d9aabe8f8b1864ec6703ee6692db38be1b /pkgs/development/python-modules/distorm3
parent6aae893f3d0f367e5c4da8f688e034ad792cca7f (diff)
python3Packages.distorm3: 3.3.4 -> 3.5.2
Diffstat (limited to 'pkgs/development/python-modules/distorm3')
-rw-r--r--pkgs/development/python-modules/distorm3/default.nix22
1 files changed, 15 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/distorm3/default.nix b/pkgs/development/python-modules/distorm3/default.nix
index d798414c19746..7a0b23e77a74f 100644
--- a/pkgs/development/python-modules/distorm3/default.nix
+++ b/pkgs/development/python-modules/distorm3/default.nix
@@ -1,21 +1,29 @@
-{ lib, buildPythonPackage, fetchPypi }:
+{ lib
+, buildPythonPackage
+, fetchFromGitHub
+, pythonOlder
+}:
 
 buildPythonPackage rec {
   pname = "distorm3";
-  version = "3.3.4";
+  version = "3.5.2";
 
-  src = fetchPypi {
-    inherit pname version;
-    extension = "zip";
-    sha256 = "1bh9xdiz9mkf9lfffimfn3hgd0mh60y7wl1micgkxzpl7hnxrpd4";
+  disabled = pythonOlder "3.5";
+
+  src = fetchFromGitHub {
+    owner = "gdabah";
+    repo = "distorm";
+    rev = version;
+    sha256 = "012bh1l2w7i9q8rcnznj3x0lra09d5yxd3r42cbrqdwl1mmg26qn";
   };
 
   # no tests included
   doCheck = false;
 
   meta = with lib; {
-    description = "Powerful Disassembler Library For x86/AMD64";
+    description = "Disassembler library for x86/AMD64";
     homepage = "https://github.com/gdabah/distorm";
     license = licenses.bsd3;
+    maintainers = with maintainers; [ fab ];
   };
 }