13 buildPythonPackage rec {
18 disabled = pythonOlder "3.7";
20 src = fetchFromGitHub {
24 hash = "sha256-WOyv1fLSXG7p+WKs2QSwlsh8FSK/lxp6I1hPY0VIkKo=";
32 propagatedBuildInputs = [
34 ] ++ lib.optionals (pythonOlder "3.8") [
44 # Upstream uses versioningit to set the version
45 sed -i "/versioningit >=/d" pyproject.toml
46 sed -i '/^name =.*/a version = "${version}"' pyproject.toml
47 sed -i "/dynamic =/d" pyproject.toml
50 pythonImportsCheck = [
59 description = "Implementation of the SCRAM authentication protocol";
60 homepage = "https://github.com/tlocke/scramp";
61 license = licenses.mit;
62 maintainers = with maintainers; [ jonringer ];