75ca762b89
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
31 lines
659 B
Nix
31 lines
659 B
Nix
{ lib
|
|
, asn1crypto
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "scramp";
|
|
version = "1.2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tlocke";
|
|
repo = "scramp";
|
|
rev = version;
|
|
sha256 = "sha256-d/kfrhvU96eH8TQX7n1hVRclEFWLseEvOxiR6VaOdrg=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ asn1crypto ];
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "scramp" ];
|
|
|
|
meta = with lib; {
|
|
description = "Implementation of the SCRAM authentication protocol";
|
|
homepage = "https://github.com/tlocke/scramp";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jonringer ];
|
|
};
|
|
}
|