14 buildPythonPackage rec {
15 pname = "keyrings-cryptfile";
19 disabled = pythonOlder "3.5";
21 src = fetchFromGitHub {
23 repo = "keyrings.cryptfile";
24 rev = "refs/tags/v${version}";
25 hash = "sha256-cDXx0s3o8hNqgzX4oNkjGhNcaUX5vi1uN2d9sdbiZwk=";
28 build-system = [ setuptools ];
36 pythonImportsCheck = [ "keyrings.cryptfile" ];
44 # correct raise `ValueError`s which pytest fails to catch for some reason:
46 # TestEncryptedFileKeyring::test_file raises 'ValueError: Incorrect Password' for some reason, maybe mock related:
47 "TestEncryptedFileKeyring"
51 description = "Encrypted file keyring backend";
52 mainProgram = "cryptfile-convert";
53 homepage = "https://github.com/frispete/keyrings.cryptfile";
54 changelog = "https://github.com/frispete/keyrings.cryptfile/blob/v${version}/CHANGES.md";
55 license = licenses.mit;
56 maintainers = [ maintainers.bbjubjub ];