matrix-synapse-plugins.matrix-synapse-shared-secret-auth: init at 1.0.2 (#112671)

This commit is contained in:
Milan 2021-03-13 08:45:15 +01:00 committed by GitHub
parent 7fcc4a8a84
commit ad44060f56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 0 deletions

View file

@ -3,4 +3,5 @@
{
matrix-synapse-ldap3 = callPackage ./ldap3.nix { };
matrix-synapse-pam = callPackage ./pam.nix { };
matrix-synapse-shared-secret-auth = callPackage ./shared-secret-auth.nix { };
}

View file

@ -0,0 +1,18 @@
{ buildPythonPackage, fetchFromGitHub, twisted }:
buildPythonPackage rec {
pname = "matrix-synapse-shared-secret-auth";
version = "1.0.2";
src = fetchFromGitHub {
owner = "devture";
repo = "matrix-synapse-shared-secret-auth";
rev = version;
sha256 = "0cnxp3bp8mmk01a0g3lzgvaawyywjg754j4nb9iwkmm3c2nqvnpz";
};
doCheck = false;
pythonImportsCheck = [ "shared_secret_authenticator" ];
propagatedBuildInputs = [ twisted ];
}