depot/third_party/nixpkgs/pkgs/development/python-modules/asyauth/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

43 lines
841 B
Nix

{
lib,
asn1crypto,
asysocks,
buildPythonPackage,
fetchPypi,
minikerberos,
pythonOlder,
unicrypto,
}:
buildPythonPackage rec {
pname = "asyauth";
version = "0.0.20";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-QQVgIPdonPXwpVl1nH8Cps4nGb2oTfeDvRBY1XgeUUs=";
};
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 ];
};
}