summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/badauth/default.nix
blob: f0c426687f5608e1d4a1651b2c198476550fb1a7 (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
35
36
37
38
39
40
41
42
43
44
{
  lib,
  asn1crypto,
  asysocks,
  buildPythonPackage,
  fetchFromGitHub,
  kerbad,
  setuptools,
  unicrypto,
}:

buildPythonPackage {
  pname = "badauth";
  version = "0.1.4-unstable-2025-10-09";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "CravateRouge";
    repo = "badauth";
    rev = "86d6091470c98e1a5f6dc4b8749053189372bb53"; # no tag available
    hash = "sha256-p7V5WkQ48b1IqCPwmJfbCiyqekfp9zW41J81JHyZNUQ=";
  };

  build-system = [ setuptools ];

  dependencies = [
    asn1crypto
    asysocks
    kerbad
    unicrypto
  ];

  # Module doesn't have tests
  doCheck = false;

  pythonImportsCheck = [ "badauth" ];

  meta = {
    description = "Unified authentication library";
    homepage = "https://github.com/CravateRouge/badauth";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}