depot/third_party/nixpkgs/pkgs/development/python-modules/asyauth/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

46 lines
875 B
Nix

{
lib,
asn1crypto,
asysocks,
buildPythonPackage,
fetchPypi,
minikerberos,
pythonOlder,
setuptools,
unicrypto,
}:
buildPythonPackage rec {
pname = "asyauth";
version = "0.0.21";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-NMwQxfhij/LiW1EW3JjvxcpFUy8WPM0/kUej4C3YEOs=";
};
build-system = [ setuptools ];
dependencies = [
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 ];
};
}