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