uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
8
pkgs/servers/matrix-synapse/plugins/default.nix
Normal file
8
pkgs/servers/matrix-synapse/plugins/default.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ callPackage }:
|
||||
|
||||
{
|
||||
matrix-synapse-ldap3 = callPackage ./ldap3.nix { };
|
||||
matrix-synapse-mjolnir-antispam = callPackage ./mjolnir-antispam.nix { };
|
||||
matrix-synapse-pam = callPackage ./pam.nix { };
|
||||
matrix-synapse-shared-secret-auth = callPackage ./shared-secret-auth.nix { };
|
||||
}
|
||||
17
pkgs/servers/matrix-synapse/plugins/ldap3.nix
Normal file
17
pkgs/servers/matrix-synapse/plugins/ldap3.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ isPy3k, buildPythonPackage, fetchPypi, service-identity, ldap3, twisted, ldaptor, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "matrix-synapse-ldap3";
|
||||
version = "0.1.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9fdf8df7c8ec756642aa0fea53b31c0b2f1924f70d7f049a2090b523125456fe";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ service-identity ldap3 twisted ];
|
||||
|
||||
# ldaptor is not ready for py3 yet
|
||||
doCheck = !isPy3k;
|
||||
checkInputs = [ ldaptor mock ];
|
||||
}
|
||||
32
pkgs/servers/matrix-synapse/plugins/mjolnir-antispam.nix
Normal file
32
pkgs/servers/matrix-synapse/plugins/mjolnir-antispam.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, matrix-synapse }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "matrix-synapse-mjolnir-antispam";
|
||||
version = "1.4.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "matrix-org";
|
||||
repo = "mjolnir";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-887azmXT5PGpcOqtWtKwdoyEtsXGm5DzpNRgEMlgSfM=";
|
||||
};
|
||||
|
||||
sourceRoot = "./source/synapse_antispam";
|
||||
|
||||
propagatedBuildInputs = [ matrix-synapse ];
|
||||
|
||||
doCheck = false; # no tests
|
||||
pythonImportsCheck = [ "mjolnir" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "AntiSpam / Banlist plugin to be used with mjolnir";
|
||||
longDescription = ''
|
||||
Primarily meant to block invites from undesired homeservers/users,
|
||||
Mjolnir's Synapse module is a way to interpret ban lists and apply
|
||||
them to your entire homeserver.
|
||||
'';
|
||||
homepage = "https://github.com/matrix-org/mjolnir#synapse-module";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ jojosch ];
|
||||
};
|
||||
}
|
||||
15
pkgs/servers/matrix-synapse/plugins/pam.nix
Normal file
15
pkgs/servers/matrix-synapse/plugins/pam.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ buildPythonPackage, fetchFromGitHub, twisted, python-pam }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "matrix-synapse-pam";
|
||||
version = "0.1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "14mRh4X0r";
|
||||
repo = "matrix-synapse-pam";
|
||||
rev = "v${version}";
|
||||
sha256 = "0jgz49cwiyih5cg3hr4byva04zjnq8aj7rima9874la9fc5sd2wf";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ twisted python-pam ];
|
||||
}
|
||||
26
pkgs/servers/matrix-synapse/plugins/shared-secret-auth.nix
Normal file
26
pkgs/servers/matrix-synapse/plugins/shared-secret-auth.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, matrix-synapse, twisted }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "matrix-synapse-shared-secret-auth";
|
||||
version = "2.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "devture";
|
||||
repo = "matrix-synapse-shared-secret-auth";
|
||||
rev = version;
|
||||
sha256 = "sha256-qzXKwTEOMtdvsxoU3Xh3vQyhK+Q18LfkeSts7EyDIXE=";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue