diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/matrix-synapse/plugins/shared-secret-auth.nix')
-rw-r--r-- | nixpkgs/pkgs/servers/matrix-synapse/plugins/shared-secret-auth.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/matrix-synapse/plugins/shared-secret-auth.nix b/nixpkgs/pkgs/servers/matrix-synapse/plugins/shared-secret-auth.nix new file mode 100644 index 000000000000..5c0dc1e2ce2b --- /dev/null +++ b/nixpkgs/pkgs/servers/matrix-synapse/plugins/shared-secret-auth.nix @@ -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 ]; +} |