Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 52 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, olefile, buildPythonPackage, fetchFromGitHub, poetry-core, cryptography, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "msoffcrypto-tool"; version = "5.4.2"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "nolze"; repo = "msoffcrypto-tool"; tag = "v${version}"; hash = "sha256-nwCjgcZqD0hptHC0WqIodHC5m/JHYyUdfEngIoXzNqA="; };
build-system = [ poetry-core ];
dependencies = [ cryptography olefile setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [ # Test fails with AssertionError "test_cli" ];
pythonImportsCheck = [ "msoffcrypto" ];
meta = with lib; { description = "Python tool and library for decrypting MS Office files with passwords or other keys"; 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"; };}