depot/third_party/nixpkgs/pkgs/development/python-modules/asyauth/default.nix
Default email 5083ee08a2 Project import generated by Copybara.
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
2022-09-30 06:47:45 -05:00

43 lines
758 B
Nix

{ lib
, asn1crypto
, asysocks
, buildPythonPackage
, fetchPypi
, minikerberos
, pythonOlder
, unicrypto
}:
buildPythonPackage rec {
pname = "asyauth";
version = "0.0.4";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-dKoTagJa3zszr/E2p1HsrtOOdykQw1lsKAEy56zweOQ=";
};
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";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}