mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:14:10 +00:00
45 lines
837 B
Nix
45 lines
837 B
Nix
{ lib
|
|
, asn1crypto
|
|
, asysocks
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, minikerberos
|
|
, pythonOlder
|
|
, unicrypto
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "asyauth";
|
|
version = "0.0.13";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-tVvqzKsCvvSgKB3xRBMnIQLEDzCaPO/h8cM8WMpzi6M=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|