summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/srp/default.nix
blob: 7f4f23699f6205eaacc7953eb1b6f1a4411a257b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  lib,
  buildPythonPackage,
  fetchPypi,
  six,
}:

buildPythonPackage rec {
  pname = "srp";
  version = "1.0.22";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-8zDQ7HOH4qyFd0h7FkljFV1KAxvKbiAk8bCTDrkrql0=";
  };

  propagatedBuildInputs = [ six ];

  # Tests ends up with libssl.so cannot load shared
  doCheck = false;

  pythonImportsCheck = [ "srp" ];

  meta = {
    description = "Implementation of the Secure Remote Password protocol (SRP)";
    longDescription = ''
      This package provides an implementation of the Secure Remote Password protocol (SRP).
      SRP is a cryptographically strong authentication protocol for password-based, mutual authentication over an insecure network connection.
    '';
    homepage = "https://github.com/cocagne/pysrp";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ jefflabonte ];
  };
}