Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / scramp / default.nix
blob68e4b9821b1e52876564b698dbbc59061d5e40a6
1 { lib
2 , asn1crypto
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "scramp";
10   version = "1.4.0";
12   src = fetchFromGitHub {
13     owner = "tlocke";
14     repo = "scramp";
15     rev = version;
16     sha256 = "sha256-aXuRIW/3qBzan8z3EzSSxqaZfa3WnPhlviNa2ugIjik=";
17   };
19   propagatedBuildInputs = [ asn1crypto ];
21   checkInputs = [ pytestCheckHook ];
23   pythonImportsCheck = [ "scramp" ];
25   meta = with lib; {
26     description = "Implementation of the SCRAM authentication protocol";
27     homepage = "https://github.com/tlocke/scramp";
28     license = licenses.mit;
29     maintainers = with maintainers; [ jonringer ];
30   };