From 7b6eb919617de0b184618df9cbf2d108b01abd06 Mon Sep 17 00:00:00 2001 From: Harrison Houghton Date: Tue, 14 Sep 2021 16:52:34 -0400 Subject: [PATCH] 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 --- pkgs/tools/text/align/default.nix | 22 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/tools/text/align/default.nix diff --git a/pkgs/tools/text/align/default.nix b/pkgs/tools/text/align/default.nix new file mode 100644 index 000000000000..4f67d747da4c --- /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 db3c85fc3427..26a85ea887b2 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 { };