diff options
author | Spencer Baugh <sbaugh@catern.com> | 2020-04-03 17:54:07 -0400 |
---|---|---|
committer | Spencer Baugh <sbaugh@catern.com> | 2020-04-04 00:09:28 -0400 |
commit | 797d90e25977a1ab77e68d0ba321a18c542e0a05 (patch) | |
tree | 1fe20a8a893324c9a8c0ee34b8c2af9db7777518 | |
parent | 7f20da7850a878747f55043a02e8dc7ca36a3b14 (diff) |
csv2latex: init at 0.22
-rw-r--r-- | pkgs/tools/misc/csv2latex/default.nix | 23 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/misc/csv2latex/default.nix b/pkgs/tools/misc/csv2latex/default.nix new file mode 100644 index 0000000000000..7cad80456b34c --- /dev/null +++ b/pkgs/tools/misc/csv2latex/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + pname = "csv2latex"; + version = "0.22"; + + src = fetchurl { + url = "http://brouits.free.fr/csv2latex/csv2latex-${version}.tar.gz"; + sha256 = "09qih2zx6cvlii1n5phiinvm9xw1l8f4i60b5hg56pymzjhn97vy"; + }; + + installPhase = '' + mkdir -p $out/bin + make PREFIX=$out install + ''; + + meta = with stdenv.lib; { + description = "Command-line CSV to LaTeX file converter"; + homepage = http://brouits.free.fr/csv2latex/; + license = licenses.gpl2; + maintainers = [ maintainers.catern ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1fa50a1eb20f8..792631a28b4c2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1569,6 +1569,8 @@ in csvkit = callPackage ../tools/text/csvkit { }; + csv2latex = callPackage ../tools/misc/csv2latex { }; + csvs-to-sqlite = with python3Packages; toPythonApplication csvs-to-sqlite; cucumber = callPackage ../development/tools/cucumber {}; |