python3Packages.matrix-common: add setuptools to nativeBuildInputs
Fix package name, enable tests.
This commit is contained in:
committed by
Frederik Rietdijk
parent
86e7367623
commit
9d8964ac4f
@@ -2,20 +2,34 @@
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
, attrs
|
||||
, unittestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "matrix_common";
|
||||
pname = "matrix-common";
|
||||
version = "1.3.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
pname = "matrix_common";
|
||||
inherit version;
|
||||
sha256 = "sha256-YuEhzM2fJDQXtX7DenbcRK6xmKelxnr9a4J1mS/yq9E=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ attrs ];
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
attrs
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
unittestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "matrix_common" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user