Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 56 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ lib, olefile, buildPythonPackage, fetchFromGitHub, poetry-core, cryptography, pytestCheckHook, pythonOlder, setuptools}:
buildPythonPackage rec { pname = "msoffcrypto-tool"; version = "5.0.1"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "nolze"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-OrGgY+CEhAHGOOIPYK8OijRdoh0PRelnsKB++ksUIXY="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ 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 ]; };}