Merge pull request #308464 from fabaff/msoffcrypto-tool-bump
python312Packages.msoffcrypto-tool: 5.3.1 -> 5.4.0
This commit is contained in:
commit
4373885c4e
1 changed files with 19 additions and 24 deletions
|
@ -1,57 +1,52 @@
|
||||||
{ lib
|
{
|
||||||
, olefile
|
lib,
|
||||||
, buildPythonPackage
|
olefile,
|
||||||
, fetchFromGitHub
|
buildPythonPackage,
|
||||||
, poetry-core
|
fetchFromGitHub,
|
||||||
, cryptography
|
poetry-core,
|
||||||
, pytestCheckHook
|
cryptography,
|
||||||
, pythonOlder
|
pytestCheckHook,
|
||||||
, setuptools
|
pythonOlder,
|
||||||
|
setuptools,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "msoffcrypto-tool";
|
pname = "msoffcrypto-tool";
|
||||||
version = "5.3.1";
|
version = "5.4.0";
|
||||||
format = "pyproject";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nolze";
|
owner = "nolze";
|
||||||
repo = pname;
|
repo = "msoffcrypto-tool";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-aQtEJyG0JGe4eSIRI4OUjJZNDBni6FFyJXXkbeiotSY=";
|
hash = "sha256-1LTFwXTIvFdrYyI1pDUPzQHw3/043+FGHDnKYWaomY0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
build-system = [ poetry-core ];
|
||||||
poetry-core
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
dependencies = [
|
||||||
cryptography
|
cryptography
|
||||||
olefile
|
olefile
|
||||||
setuptools
|
setuptools
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [ pytestCheckHook ];
|
||||||
pytestCheckHook
|
|
||||||
];
|
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# Test fails with AssertionError
|
# Test fails with AssertionError
|
||||||
"test_cli"
|
"test_cli"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [ "msoffcrypto" ];
|
||||||
"msoffcrypto"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python tool and library for decrypting MS Office files with passwords or other keys";
|
description = "Python tool and library for decrypting MS Office files with passwords or other keys";
|
||||||
mainProgram = "msoffcrypto-tool";
|
|
||||||
homepage = "https://github.com/nolze/msoffcrypto-tool";
|
homepage = "https://github.com/nolze/msoffcrypto-tool";
|
||||||
changelog = "https://github.com/nolze/msoffcrypto-tool/blob/v${version}/CHANGELOG.md";
|
changelog = "https://github.com/nolze/msoffcrypto-tool/blob/v${version}/CHANGELOG.md";
|
||||||
license = with licenses; [ mit ];
|
license = with licenses; [ mit ];
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
|
mainProgram = "msoffcrypto-tool";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue