tailscale: build derpprobe (#364918)
[NixPkgs.git] / pkgs / servers / matrix-synapse / plugins / shared-secret-auth.nix
blobd2455a0009b24e4b0c2c11e941e941371265e39a
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   matrix-synapse-unwrapped,
6   twisted,
7 }:
9 buildPythonPackage rec {
10   pname = "matrix-synapse-shared-secret-auth";
11   version = "2.0.2";
13   src = fetchFromGitHub {
14     owner = "devture";
15     repo = "matrix-synapse-shared-secret-auth";
16     rev = version;
17     sha256 = "sha256-qzXKwTEOMtdvsxoU3Xh3vQyhK+Q18LfkeSts7EyDIXE=";
18   };
20   doCheck = false;
21   pythonImportsCheck = [ "shared_secret_authenticator" ];
23   buildInputs = [ matrix-synapse-unwrapped ];
24   propagatedBuildInputs = [ twisted ];
26   meta = with lib; {
27     description = "Shared Secret Authenticator password provider module for Matrix Synapse";
28     homepage = "https://github.com/devture/matrix-synapse-shared-secret-auth";
29     license = licenses.agpl3Plus;
30     maintainers = with maintainers; [ sumnerevans ];
31   };