My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/scramp/default.nix

40 lines
748 B

{ lib
, asn1crypto
, buildPythonPackage
, fetchFromGitHub
, pytest-mock
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "scramp";
version = "1.4.1";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "tlocke";
repo = "scramp";
rev = version;
sha256 = "sha256-HEt2QxNHX9Oqx+o0++ZtS61SVHra3nLAqv7NbQWVV+E=";
};
propagatedBuildInputs = [
asn1crypto
];
checkInputs = [
pytest-mock
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 ];
};
}