at 24.11-pre 42 lines 922 B view raw
1{ lib 2, python3Packages 3, fetchPypi 4, qt5 5}: 6 7python3Packages.buildPythonApplication rec { 8 pname = "graph-cli"; 9 version = "0.1.19"; 10 11 src = fetchPypi { 12 inherit version; 13 pname = "graph_cli"; 14 hash = "sha256-AOfUgeVgcTtuf5IuLYy1zFTBCjWZxu0OiZzUVXDIaSc="; 15 }; 16 17 nativeBuildInputs = [ qt5.wrapQtAppsHook ]; 18 19 dontWrapQtApps = true; 20 21 preFixup = '' 22 makeWrapperArgs+=("''${qtWrapperArgs[@]}") 23 ''; 24 25 propagatedBuildInputs = with python3Packages; [ 26 numpy 27 pandas 28 (matplotlib.override { enableQt = true; }) 29 ]; 30 31 # does not contain tests despite reference in Makefile 32 doCheck = false; 33 pythonImportsCheck = [ "graph_cli" ]; 34 35 meta = with lib; { 36 description = "CLI to create graphs from CSV files"; 37 homepage = "https://github.com/mcastorina/graph-cli/"; 38 license = with licenses; [ gpl3Only ]; 39 maintainers = with maintainers; [ leungbk ]; 40 mainProgram = "graph"; 41 }; 42}