11 buildPythonPackage rec {
14 format = "setuptools";
16 disabled = pythonOlder "3.5";
18 src = fetchFromGitHub {
19 owner = "sepandhaghighi";
21 rev = "refs/tags/v${version}";
22 sha256 = "sha256-96M/QKt4AdiZoZ7L9AHocSyZPkwEb2iuRJKW3rVP3hc=";
25 propagatedBuildInputs = [
36 # Remove a trivial dependency on the author's `art` Python ASCII art library
38 # Also depends on python3Packages.notebook
39 rm Otherfiles/notebook_check.py
40 substituteInPlace setup.py \
41 --replace '=get_requires()' '=[]'
45 # Output formatting error
46 "pycm.pycm_compare.Compare"
50 pythonImportsCheck = [
55 description = "Multiclass confusion matrix library";
56 homepage = "https://pycm.ir";
57 license = licenses.mit;
58 maintainers = with maintainers; [ bcdarwin ];