mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
27 lines
718 B
Nix
27 lines
718 B
Nix
{ lib, stdenv, fetchurl, gfortran, gnuplot, makeWrapper }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "c-graph";
|
|
version = "2.0.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/c-graph/c-graph-${version}.tar.gz";
|
|
hash = "sha256-LSZ948nXXY3pXltR2hHnql6YEpHumjTvbtz4/qUIRCQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [ gfortran makeWrapper ];
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/bin/c-graph --prefix PATH : ${lib.makeBinPath [ gnuplot ]}
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Tool for Learning about Convolution";
|
|
homepage = "https://www.gnu.org/software/c-graph/";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ sikmir ];
|
|
platforms = platforms.unix;
|
|
mainProgram = "c-graph";
|
|
};
|
|
}
|