1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 poetry-core, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "python-pae"; 12 version = "0.1.0"; 13 format = "pyproject"; 14 disabled = pythonOlder "3.7"; 15 16 # Tests are on GitHub 17 src = fetchFromGitHub { 18 owner = "MatthiasValvekens"; 19 repo = "python-pae"; 20 rev = version; 21 hash = "sha256-D0X2T0ze79KR6Gno4UWpA/XvlkK6Y/jXUtLbzlOKr3E="; 22 }; 23 24 nativeBuildInputs = [ poetry-core ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "python_pae" ]; 29 30 meta = with lib; { 31 description = "Pre-authentication encoding (PAE) implementation in Python"; 32 homepage = "https://github.com/MatthiasValvekens/python-pae"; 33 license = licenses.mit; 34 maintainers = [ ]; 35 }; 36}