python312Packages.osmnx: 1.9.3 → 2.0.0 (#360529)
[NixPkgs.git] / pkgs / development / python-modules / dissect-executable / default.nix
blob8d7cf33acb59f6d4707f3b4c801b274c5569b8a2
2   lib,
3   buildPythonPackage,
4   dissect-cstruct,
5   dissect-util,
6   fetchFromGitHub,
7   setuptools,
8   setuptools-scm,
9   pythonOlder,
12 buildPythonPackage rec {
13   pname = "dissect-executable";
14   version = "1.7";
15   pyproject = true;
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "fox-it";
21     repo = "dissect.executable";
22     rev = "refs/tags/${version}";
23     hash = "sha256-qr8t+k0m9VoF2hLNilCLJ9BfATLRlZupF2C9l+6OMDo=";
24   };
26   build-system = [
27     setuptools
28     setuptools-scm
29   ];
31   dependencies = [
32     dissect-cstruct
33     dissect-util
34   ];
36   pythonImportsCheck = [ "dissect.executable" ];
38   meta = with lib; {
39     description = "Dissect module implementing a parser for various executable formats such as PE, ELF and Macho-O";
40     homepage = "https://github.com/fox-it/dissect.executable";
41     changelog = "https://github.com/fox-it/dissect.executable/releases/tag/${version}";
42     license = licenses.agpl3Only;
43     maintainers = with maintainers; [ fab ];
44   };