python310Packages.dissect-volume: init at 3.1

This commit is contained in:
Fabian Affolter 2022-10-07 17:24:57 +02:00
parent 6cc8d0b2ad
commit 7202347686
2 changed files with 54 additions and 0 deletions

View File

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

View File

@ -2483,6 +2483,8 @@ in {
dissect-util = callPackage ../development/python-modules/dissect-util { };
dissect-volume = callPackage ../development/python-modules/dissect-volume { };
dissononce = callPackage ../development/python-modules/dissononce { };
distlib = callPackage ../development/python-modules/distlib { };