depot/third_party/nixpkgs/pkgs/development/python-modules/asyauth/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

44 lines
837 B
Nix

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