Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 31 lines 659 B view raw
1{ lib 2, asn1crypto 3, buildPythonPackage 4, fetchFromGitHub 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "scramp"; 10 version = "1.4.0"; 11 12 src = fetchFromGitHub { 13 owner = "tlocke"; 14 repo = "scramp"; 15 rev = version; 16 sha256 = "sha256-aXuRIW/3qBzan8z3EzSSxqaZfa3WnPhlviNa2ugIjik="; 17 }; 18 19 propagatedBuildInputs = [ asn1crypto ]; 20 21 checkInputs = [ pytestCheckHook ]; 22 23 pythonImportsCheck = [ "scramp" ]; 24 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 }; 31}