nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 asn1crypto,
4 asysocks,
5 buildPythonPackage,
6 fetchPypi,
7 minikerberos,
8 setuptools,
9 unicrypto,
10}:
11
12buildPythonPackage rec {
13 pname = "asyauth";
14 version = "0.0.23";
15 pyproject = true;
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-NvA4TdsrYloQMzNjyv4ZDW6cntF/0Hs+KIdkGjzGJvA=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [
25 asn1crypto
26 asysocks
27 minikerberos
28 unicrypto
29 ];
30
31 # Project doesn't have tests
32 doCheck = false;
33
34 pythonImportsCheck = [ "asyauth" ];
35
36 meta = {
37 description = "Unified authentication library";
38 homepage = "https://github.com/skelsec/asyauth";
39 changelog = "https://github.com/skelsec/asyauth/releases/tag/${version}";
40 license = lib.licenses.mit;
41 maintainers = with lib.maintainers; [ fab ];
42 };
43}