Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 58 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ lib, argon2-cffi, buildPythonPackage, fetchFromGitHub, setuptools, keyring, pycryptodome, pytestCheckHook, pytest-cov-stub, pythonOlder,}:
buildPythonPackage rec { pname = "keyrings-cryptfile"; version = "1.4.1"; pyproject = true;
disabled = pythonOlder "3.5";
src = fetchFromGitHub { owner = "frispete"; repo = "keyrings.cryptfile"; tag = "v${version}"; hash = "sha256-cDXx0s3o8hNqgzX4oNkjGhNcaUX5vi1uN2d9sdbiZwk="; };
build-system = [ setuptools ];
dependencies = [ argon2-cffi keyring pycryptodome ];
pythonImportsCheck = [ "keyrings.cryptfile" ];
nativeCheckInputs = [ pytestCheckHook pytest-cov-stub ];
disabledTests = [ # correct raise `ValueError`s which pytest fails to catch for some reason: "test_empty_username" # TestEncryptedFileKeyring::test_file raises 'ValueError: Incorrect Password' for some reason, maybe mock related: "TestEncryptedFileKeyring" ];
meta = with lib; { description = "Encrypted file keyring backend"; mainProgram = "cryptfile-convert"; homepage = "https://github.com/frispete/keyrings.cryptfile"; changelog = "https://github.com/frispete/keyrings.cryptfile/blob/v${version}/CHANGES.md"; license = licenses.mit; maintainers = [ maintainers.bbjubjub ]; };}