diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/misc/csv2latex/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/misc/csv2latex/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/misc/csv2latex/default.nix b/nixpkgs/pkgs/tools/misc/csv2latex/default.nix new file mode 100644 index 000000000000..cc286c54e9ad --- /dev/null +++ b/nixpkgs/pkgs/tools/misc/csv2latex/default.nix @@ -0,0 +1,24 @@ +{ 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 ]; + mainProgram = "csv2latex"; + }; +} |