Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, isPy27 6, six 7 8, pytestCheckHook 9, keyring 10, setuptools-scm 11}: 12 13buildPythonPackage rec { 14 pname = "keyrings.alt"; 15 version = "4.2.0"; 16 format = "pyproject"; 17 disabled = isPy27; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-K6PVZEG6Bjf1+cCWBo9nAQrART+dC2Jt4qowGTU7ZDE="; 22 }; 23 24 nativeBuildInputs = [ 25 setuptools-scm 26 ]; 27 28 propagatedBuildInputs = [ 29 six 30 ]; 31 32 nativeCheckInputs = [ 33 pytestCheckHook 34 keyring 35 ]; 36 37 pythonImportsCheck = [ 38 "keyrings.alt" 39 ]; 40 41 meta = with lib; { 42 license = licenses.mit; 43 description = "Alternate keyring implementations"; 44 homepage = "https://github.com/jaraco/keyrings.alt"; 45 maintainers = with maintainers; [ nyarly ]; 46 }; 47}