depot/third_party/nixpkgs/pkgs/development/python-modules/matrix-common/default.nix
Default email 5083ee08a2 Project import generated by Copybara.
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
2022-09-30 06:47:45 -05:00

41 lines
764 B
Nix

{ 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;
sha256 = "sha256-YuEhzM2fJDQXtX7DenbcRK6xmKelxnr9a4J1mS/yq9E=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
attrs
];
checkInputs = [
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 ];
};
}