mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 04:45:39 +00:00
python310Packages.dissect-ole: init at 3.1
This commit is contained in:
parent
d061a07d42
commit
62f245f18e
50
pkgs/development/python-modules/dissect-ole/default.nix
Normal file
50
pkgs/development/python-modules/dissect-ole/default.nix
Normal file
@ -0,0 +1,50 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, dissect-cstruct
|
||||
, dissect-util
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dissect-ole";
|
||||
version = "3.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fox-it";
|
||||
repo = "dissect.ole";
|
||||
rev = version;
|
||||
hash = "sha256-qnrbS+gdzBV/mQ08fQzpvevkDtrJ1qXpteW0lxJ+ZUI=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dissect-cstruct
|
||||
dissect-util
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"dissect.ole"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Dissect module implementing a parser for the Object Linking & Embedding (OLE) format";
|
||||
homepage = "https://github.com/fox-it/dissect.ole";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -2501,6 +2501,8 @@ in {
|
||||
|
||||
dissect-ntfs = callPackage ../development/python-modules/dissect-ntfs { };
|
||||
|
||||
dissect-ole = callPackage ../development/python-modules/dissect-ole { };
|
||||
|
||||
dissect-util = callPackage ../development/python-modules/dissect-util { };
|
||||
|
||||
dissect-vmfs = callPackage ../development/python-modules/dissect-vmfs { };
|
||||
|
Loading…
Reference in New Issue
Block a user