Merge pull request #308464 from fabaff/msoffcrypto-tool-bump

python312Packages.msoffcrypto-tool: 5.3.1 -> 5.4.0
This commit is contained in:
Nick Cao 2024-05-02 09:37:06 -04:00 committed by GitHub
commit 4373885c4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,57 +1,52 @@
{ lib
, olefile
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, cryptography
, pytestCheckHook
, pythonOlder
, setuptools
{
lib,
olefile,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
cryptography,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "msoffcrypto-tool";
version = "5.3.1";
format = "pyproject";
version = "5.4.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "nolze";
repo = pname;
repo = "msoffcrypto-tool";
rev = "refs/tags/v${version}";
hash = "sha256-aQtEJyG0JGe4eSIRI4OUjJZNDBni6FFyJXXkbeiotSY=";
hash = "sha256-1LTFwXTIvFdrYyI1pDUPzQHw3/043+FGHDnKYWaomY0=";
};
nativeBuildInputs = [
poetry-core
];
build-system = [ poetry-core ];
propagatedBuildInputs = [
dependencies = [
cryptography
olefile
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
# Test fails with AssertionError
"test_cli"
];
pythonImportsCheck = [
"msoffcrypto"
];
pythonImportsCheck = [ "msoffcrypto" ];
meta = with lib; {
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";
changelog = "https://github.com/nolze/msoffcrypto-tool/blob/v${version}/CHANGELOG.md";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
mainProgram = "msoffcrypto-tool";
};
}