0d9fc34957
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
44 lines
837 B
Nix
44 lines
837 B
Nix
{ lib
|
|
, asn1crypto
|
|
, asysocks
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, minikerberos
|
|
, pythonOlder
|
|
, unicrypto
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "asyauth";
|
|
version = "0.0.11";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-KCG+SdAtpenwDf+5nA2+p8eKrWiJQSdiRyCU+lGf/1o=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
asn1crypto
|
|
asysocks
|
|
minikerberos
|
|
unicrypto
|
|
];
|
|
|
|
# Project doesn't have tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"asyauth"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Unified authentication library";
|
|
homepage = "https://github.com/skelsec/asyauth";
|
|
changelog = "https://github.com/skelsec/asyauth/releases/tag/${version}";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|