about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/matrix-common/default.nix
blob: 44d37b988a7de514aa744342ed792863fe2cab8b (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
{ stdenv
, lib
, buildPythonPackage
, fetchPypi
, attrs
}:

buildPythonPackage rec {
  pname = "matrix_common";
  version = "1.0.0";
  format = "pyproject";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-ZmiKRoJ8hv1USuJBDzV2U1uIFt2lRxmT+iAOqOShJK4=";
  };

  propagatedBuildInputs = [ attrs ];
  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 ];
  };
}