1 { lib, stdenv, fetchurl, gfortran, gnuplot, makeWrapper }:
3 stdenv.mkDerivation rec {
8 url = "mirror://gnu/c-graph/c-graph-${version}.tar.gz";
9 hash = "sha256-LSZ948nXXY3pXltR2hHnql6YEpHumjTvbtz4/qUIRCQ=";
12 nativeBuildInputs = [ gfortran makeWrapper ];
15 wrapProgram $out/bin/c-graph --prefix PATH : ${lib.makeBinPath [ gnuplot ]}
19 description = "Tool for Learning about Convolution";
20 homepage = "https://www.gnu.org/software/c-graph/";
21 license = licenses.gpl3Plus;
22 maintainers = with maintainers; [ sikmir ];
23 platforms = platforms.unix;
24 mainProgram = "c-graph";