depot/third_party/nixpkgs/pkgs/development/python-modules/scramp/default.nix
Default email 48af15f7a5 Project import generated by Copybara.
GitOrigin-RevId: 04a2b269d8921505a2969fc9ec25c1f517f2b307
2021-03-20 04:20:00 +00:00

31 lines
659 B
Nix

{ lib
, asn1crypto
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "scramp";
version = "1.4.0";
src = fetchFromGitHub {
owner = "tlocke";
repo = "scramp";
rev = version;
sha256 = "sha256-aXuRIW/3qBzan8z3EzSSxqaZfa3WnPhlviNa2ugIjik=";
};
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 ];
};
}