From 8a19707fc4ca624b08a8b00b25c0202d31a2a2f5 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 1 Oct 2021 10:54:31 +0530 Subject: [PATCH] natls: init at 2.1.14 --- pkgs/tools/misc/natls/default.nix | 25 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/tools/misc/natls/default.nix diff --git a/pkgs/tools/misc/natls/default.nix b/pkgs/tools/misc/natls/default.nix new file mode 100644 index 000000000000..368291f60d9a --- /dev/null +++ b/pkgs/tools/misc/natls/default.nix @@ -0,0 +1,25 @@ +{ lib +, rustPlatform +, fetchFromGitHub +}: + +rustPlatform.buildRustPackage rec { + pname = "natls"; + version = "2.1.14"; + + src = fetchFromGitHub { + owner = "willdoescode"; + repo = "nat"; + rev = "v${version}"; + sha256 = "sha256-4x92r6V9AvEO88gFofPTUt+mS7ZhmptDn/8O4pizSRg="; + }; + + cargoSha256 = "sha256-Am4HmfmhskKxcp1iWod5z3caHwsdo31qCaVi0UxTXAg="; + + meta = with lib; { + description = "the 'ls' replacement you never knew you needed"; + homepage = "https://github.com/willdoescode/nat"; + license = licenses.mit; + maintainers = with maintainers; [ msfjarvis ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d31c80ac4104..7e1e26856b5b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1040,6 +1040,8 @@ with pkgs; mrxvt = callPackage ../applications/terminal-emulators/mrxvt { }; + natls = callPackage ../tools/misc/natls { }; + nimmm = callPackage ../applications/terminal-emulators/nimmm { }; pikchr = callPackage ../tools/graphics/pikchr { };