Commit 0b9a12f8 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python313Packages.dissect-fve: init at 4.0

Dissect module implementing parsers for full volume encryption implementations

https://github.com/fox-it/dissect.fve
parent b5291ac5
Loading
Loading
Loading
Loading
+58 −0
Original line number Diff line number Diff line
{
  lib,
  argon2-cffi,
  buildPythonPackage,
  dissect-cstruct,
  dissect-util,
  dissect-target,
  fetchFromGitHub,
  pycryptodome,
  pythonOlder,
  rich,
  setuptools-scm,
  setuptools,
}:

buildPythonPackage rec {
  pname = "dissect-fve";
  version = "4.0";
  pyproject = true;

  disabled = pythonOlder "3.9";

  src = fetchFromGitHub {
    owner = "fox-it";
    repo = "dissect.fve";
    tag = version;
    hash = "sha256-R6ZrUofycEgJlwLE4/CXFZ2gTg+ETBPlBBC8+s5YN6M=";
  };

  build-system = [
    setuptools
    setuptools-scm
  ];

  dependencies = [
    argon2-cffi
    dissect-cstruct
    dissect-util
    pycryptodome
  ];

  optional-dependencies = {
    full = [
      dissect-target
      rich
    ];
  };

  pythonImportsCheck = [ "dissect.fve" ];

  meta = with lib; {
    description = "Dissect module implementing parsers for full volume encryption implementations";
    homepage = "https://github.com/fox-it/dissect.fve";
    changelog = "https://github.com/fox-it/dissect.fve/releases/tag/${version}";
    license = licenses.agpl3Only;
    maintainers = with maintainers; [ fab ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -3366,6 +3366,8 @@ self: super: with self; {
  dissect-ffs = callPackage ../development/python-modules/dissect-ffs { };
  dissect-fve = callPackage ../development/python-modules/dissect-fve { };
  dissect-esedb = callPackage ../development/python-modules/dissect-esedb { };
  dissect-etl = callPackage ../development/python-modules/dissect-etl { };