blob: 307ae00b4642fcd1e979ca8743ae209a9040a845 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
stdenv,
lib,
buildPythonPackage,
fetchPypi,
setuptools,
attrs,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "matrix-common";
version = "1.3.0";
format = "pyproject";
src = fetchPypi {
pname = "matrix_common";
inherit version;
hash = "sha256-YuEhzM2fJDQXtX7DenbcRK6xmKelxnr9a4J1mS/yq9E=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ attrs ];
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "matrix_common" ];
meta = with lib; {
description = "Common utilities for Synapse, Sydent and Sygnal";
homepage = "https://github.com/matrix-org/matrix-python-common";
license = licenses.asl20;
maintainers = with maintainers; [ sumnerevans ];
};
}
|