nixpkgs/pkgs/development/python-modules/matrix-common/default.nix
Sumner Evans af080751af
matrix_common: init at 1.0.0
New required dependency for matrix-synapse
2022-01-18 07:42:20 -07:00

28 lines
610 B
Nix

{ 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 ];
};
}