Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, cryptography 4, fetchPypi 5, jeepney 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "secretstorage"; 11 version = "3.3.3"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 pname = "SecretStorage"; 18 inherit version; 19 hash = "sha256-JANTPvNp7KbSuoFxhXbF4PVk1cyhtY9zqLI+fU7uvXc="; 20 }; 21 22 propagatedBuildInputs = [ 23 cryptography 24 jeepney 25 ]; 26 27 # Needs a D-Bus session 28 doCheck = false; 29 30 pythonImportsCheck = [ 31 "secretstorage" 32 ]; 33 34 meta = with lib; { 35 description = "Python bindings to FreeDesktop.org Secret Service API"; 36 homepage = "https://github.com/mitya57/secretstorage"; 37 license = licenses.bsd3; 38 maintainers = with maintainers; [ teto ]; 39 }; 40}