evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / ropper / default.nix
blobb7f12332711e3f56abebf6da387b72c8bfa07a8e
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 = [ pytestCheckHook ];
32   pythonImportsCheck = [ "ropper" ];
34   meta = with lib; {
35     description = "Show information about files in different file formats";
36     mainProgram = "ropper";
37     homepage = "https://scoding.de/ropper/";
38     license = licenses.bsd3;
39     maintainers = with maintainers; [ bennofs ];
40   };