mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-28 08:49:51 +00:00
44 lines
849 B
Nix
44 lines
849 B
Nix
{
|
|
lib,
|
|
asn1crypto,
|
|
asysocks,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
minikerberos,
|
|
setuptools,
|
|
unicrypto,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "asyauth";
|
|
version = "0.0.26";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit (finalAttrs) pname version;
|
|
hash = "sha256-TA3yfpuhppzVnjdVEYFpi6d/UD5OzZlmsKUI9MRy9NI=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
asn1crypto
|
|
asysocks
|
|
minikerberos
|
|
unicrypto
|
|
];
|
|
|
|
# Project doesn't have tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "asyauth" ];
|
|
|
|
meta = {
|
|
description = "Unified authentication library";
|
|
homepage = "https://github.com/skelsec/asyauth";
|
|
changelog = "https://github.com/skelsec/asyauth/releases/tag/${finalAttrs.version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|