python310Packages.dissect-ffs: init at 3.1

main
Fabian Affolter 2 years ago
parent 0b49fc7733
commit c79d57a94b
  1. 52
      pkgs/development/python-modules/dissect-ffs/default.nix
  2. 2
      pkgs/top-level/python-packages.nix

@ -0,0 +1,52 @@
{ lib
, buildPythonPackage
, dissect-cstruct
, dissect-util
, fetchFromGitHub
, setuptools
, setuptools-scm
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "dissect-ffs";
version = "3.1";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.ffs";
rev = version;
hash = "sha256-JI0i0pvOOChWCDB8rynDuf0txvPQT7z2JJ1EsE4VNLw=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [
dissect-cstruct
dissect-util
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"dissect.ffs"
];
meta = with lib; {
description = "Dissect module implementing a parser for the FFS file system";
homepage = "https://github.com/fox-it/dissect.ffs";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
}

@ -2483,6 +2483,8 @@ in {
dissect-cstruct = callPackage ../development/python-modules/dissect-cstruct { };
dissect-ffs = callPackage ../development/python-modules/dissect-ffs { };
dissect-etl = callPackage ../development/python-modules/dissect-etl { };
dissect-eventlog = callPackage ../development/python-modules/dissect-eventlog { };

Loading…
Cancel
Save