summary refs log tree commit diff
path: root/pkgs/tools/text
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2021-09-09 13:22:02 +0200
committerGitHub <noreply@github.com>2021-09-09 13:22:02 +0200
commit793a10699247ca669faf3e8b4de00ac6ed3d86b6 (patch)
tree451743f36c3299f7336f8ee9d694a13a8054848e /pkgs/tools/text
parent8b1123691c02a89cc3b605772b0ed1c72b00a4cc (diff)
parent90ec05be8f7475d0f7f8c8c5e81545d5689f6ab1 (diff)
downloadnixpkgs-793a10699247ca669faf3e8b4de00ac6ed3d86b6.tar
nixpkgs-793a10699247ca669faf3e8b4de00ac6ed3d86b6.tar.gz
nixpkgs-793a10699247ca669faf3e8b4de00ac6ed3d86b6.tar.bz2
nixpkgs-793a10699247ca669faf3e8b4de00ac6ed3d86b6.tar.lz
nixpkgs-793a10699247ca669faf3e8b4de00ac6ed3d86b6.tar.xz
nixpkgs-793a10699247ca669faf3e8b4de00ac6ed3d86b6.tar.zst
nixpkgs-793a10699247ca669faf3e8b4de00ac6ed3d86b6.zip
Merge pull request #137143 from figsoda/csview
csview: init at 0.3.8
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r--pkgs/tools/text/csview/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/tools/text/csview/default.nix b/pkgs/tools/text/csview/default.nix
new file mode 100644
index 00000000000..60186a6b3b7
--- /dev/null
+++ b/pkgs/tools/text/csview/default.nix
@@ -0,0 +1,22 @@
+{ fetchFromGitHub, lib, rustPlatform }:
+
+rustPlatform.buildRustPackage rec {
+  pname = "csview";
+  version = "0.3.8";
+
+  src = fetchFromGitHub {
+    owner = "wfxr";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "18bz12yn85h9vj0b18iaziix9km2iwh8gwfs93fddjv6kg87p38q";
+  };
+
+  cargoSha256 = "1my6gl8zq5k7clzapgbf1mmcgq8mmdbhl250rdd1fvfd59wkrwra";
+
+  meta = with lib; {
+    description = "A high performance csv viewer with cjk/emoji support";
+    homepage = "https://github.com/wfxr/csview";
+    license = with licenses; [ mit /* or */ asl20 ];
+    maintainers = with maintainers; [ figsoda ];
+  };
+}