summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-pae/default.nix
blob: 41f4e16fbb60d84e04436bb39a912321fa54bc58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "python-pae";
  version = "0.1.0";
  pyproject = true;

  # Tests are on GitHub
  src = fetchFromGitHub {
    owner = "MatthiasValvekens";
    repo = "python-pae";
    rev = version;
    hash = "sha256-D0X2T0ze79KR6Gno4UWpA/XvlkK6Y/jXUtLbzlOKr3E=";
  };

  nativeBuildInputs = [ poetry-core ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "python_pae" ];

  meta = {
    description = "Pre-authentication encoding (PAE) implementation in Python";
    homepage = "https://github.com/MatthiasValvekens/python-pae";
    license = lib.licenses.mit;
    maintainers = [ ];
  };
}