mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
27 lines
797 B
Nix
27 lines
797 B
Nix
{ lib, buildPythonPackage, fetchFromGitHub, matrix-synapse, twisted }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "matrix-synapse-shared-secret-auth";
|
|
version = "2.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "devture";
|
|
repo = "matrix-synapse-shared-secret-auth";
|
|
rev = version;
|
|
sha256 = "sha256-kaok5IwKx97FYDrVIGAtUJfExqDln5vxEKrZda2RdzE=";
|
|
};
|
|
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "shared_secret_authenticator" ];
|
|
|
|
buildInputs = [ matrix-synapse ];
|
|
propagatedBuildInputs = [ twisted ];
|
|
|
|
meta = with lib; {
|
|
description = "Shared Secret Authenticator password provider module for Matrix Synapse";
|
|
homepage = "https://github.com/devture/matrix-synapse-shared-secret-auth";
|
|
license = licenses.agpl3Plus;
|
|
maintainers = with maintainers; [ sumnerevans ];
|
|
};
|
|
}
|