2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "csv2latex";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "0.23.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://brouits.free.fr/csv2latex/csv2latex-${version}.tar.gz";
|
2022-10-21 18:38:19 +00:00
|
|
|
sha256 = "sha256-k1vQyrVJmfaJ7jVaoW2dkPD7GO8EoDqJY5m8O2U/kYw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
make PREFIX=$out install
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Command-line CSV to LaTeX file converter";
|
|
|
|
homepage = "http://brouits.free.fr/csv2latex/";
|
2024-05-15 15:35:15 +00:00
|
|
|
license = licenses.gpl2Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [ maintainers.catern ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "csv2latex";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|