about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHarrison Houghton <hora.rhino@gmail.com>2021-09-14 16:52:34 -0400
committerHarrison Houghton <hora.rhino@gmail.com>2021-09-24 08:10:21 -0400
commit7b6eb919617de0b184618df9cbf2d108b01abd06 (patch)
treeb8c5a5dec767395e2ee5e2420f56b879dfe43dff
parentf6a7137726708b74fb14a52b220ea1b1ef6a4b6c (diff)
align: init at 1.1.3
This is a nice package for viewing CSV files and such, where differing
field widths can make it hard to understand the data.

Co-authored-by: figsoda <figsoda@pm.me>
-rw-r--r--pkgs/tools/text/align/default.nix22
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/text/align/default.nix b/pkgs/tools/text/align/default.nix
new file mode 100644
index 0000000000000..4f67d747da4c1
--- /dev/null
+++ b/pkgs/tools/text/align/default.nix
@@ -0,0 +1,22 @@
+{ lib, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+  pname = "align";
+  version = "1.1.3";
+
+  src = fetchFromGitHub {
+    owner = "Guitarbum722";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "17gs3417633z71kc6l5zqg4b3rjhpn2v8qs8rnfrk4nbwzz4nrq3";
+  };
+
+  vendorSha256 = null;
+
+  meta = with lib; {
+    homepage = "https://github.com/Guitarbum722/align";
+    description = "A general purpose application and library for aligning text";
+    maintainers = with maintainers; [ hrhino ];
+    license = licenses.mit;
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index db3c85fc34279..26a85ea887b2a 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -167,6 +167,8 @@ with pkgs;
 
   alda = callPackage ../development/interpreters/alda { };
 
+  align = callPackage ../tools/text/align { };
+
   althttpd = callPackage ../servers/althttpd { };
 
   among-sus = callPackage ../games/among-sus { };