nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python3Packages.matrix-common: add setuptools to nativeBuildInputs

Fix package name, enable tests.

authored by

Martin Weinelt and committed by
Frederik Rietdijk
9d8964ac 86e73676

+17 -3
+17 -3
pkgs/development/python-modules/matrix-common/default.nix
··· 2 2 , lib 3 3 , buildPythonPackage 4 4 , fetchPypi 5 + , setuptools 5 6 , attrs 7 + , unittestCheckHook 6 8 }: 7 9 8 10 buildPythonPackage rec { 9 - pname = "matrix_common"; 11 + pname = "matrix-common"; 10 12 version = "1.3.0"; 11 13 format = "pyproject"; 12 14 13 15 src = fetchPypi { 14 - inherit pname version; 16 + pname = "matrix_common"; 17 + inherit version; 15 18 sha256 = "sha256-YuEhzM2fJDQXtX7DenbcRK6xmKelxnr9a4J1mS/yq9E="; 16 19 }; 17 20 18 - propagatedBuildInputs = [ attrs ]; 21 + nativeBuildInputs = [ 22 + setuptools 23 + ]; 24 + 25 + propagatedBuildInputs = [ 26 + attrs 27 + ]; 28 + 29 + checkInputs = [ 30 + unittestCheckHook 31 + ]; 32 + 19 33 pythonImportsCheck = [ "matrix_common" ]; 20 34 21 35 meta = with lib; {