about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/csv2latex/default.nix
blob: e297bc532dc1233f062969a0d8f4d4430d4d96e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, stdenv, fetchurl }:

stdenv.mkDerivation rec {
  pname = "csv2latex";
  version = "0.23.1";

  src = fetchurl {
    url = "http://brouits.free.fr/csv2latex/csv2latex-${version}.tar.gz";
    sha256 = "sha256-k1vQyrVJmfaJ7jVaoW2dkPD7GO8EoDqJY5m8O2U/kYw=";
  };

  installPhase = ''
  mkdir -p $out/bin
  make PREFIX=$out install
  '';

  meta = with lib; {
    description = "Command-line CSV to LaTeX file converter";
    homepage = "http://brouits.free.fr/csv2latex/";
    license = licenses.gpl2;
    maintainers = [ maintainers.catern ];
  };
}