python310Packages.dissect-volume: init at 3.1
This commit is contained in:
parent
6cc8d0b2ad
commit
7202347686
52
pkgs/development/python-modules/dissect-volume/default.nix
Normal file
52
pkgs/development/python-modules/dissect-volume/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user