Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / ropper / default.nix
blob973b11de4728beb4cd70b632d43dcacf6bdac1a4
1 { stdenv
2 , lib
3 , buildPythonPackage
4 , fetchFromGitHub
5 , capstone
6 , filebytes
7 , pytestCheckHook
8 , pythonOlder
9 }:
11 buildPythonPackage rec {
12   pname = "ropper";
13   version = "1.13.8";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "sashs";
20     repo = "Ropper";
21     rev = "v${version}";
22     hash = "sha256-agbqP5O9QEP5UKkaWI5HxAlMsCBPKNSLnAAo2WFDXS8=";
23   };
25   propagatedBuildInputs = [
26     capstone
27     filebytes
28   ];
30   nativeCheckInputs = [
31     pytestCheckHook
32   ];
34   pythonImportsCheck = [
35     "ropper"
36   ];
38   meta = with lib; {
39     description = "Show information about files in different file formats";
40     mainProgram = "ropper";
41     homepage = "https://scoding.de/ropper/";
42     license = licenses.bsd3;
43     maintainers = with maintainers; [ bennofs ];
44     broken = stdenv.isDarwin;
45   };