nixpkgs/pkgs/tools/misc/natls/default.nix
Christina Sørensen 9255c4d2d0
treewide: adopt orphaned packages
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-04-28 20:43:06 +02:00

26 lines
618 B
Nix

{ 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; [ cafkafk ];
mainProgram = "natls";
};
}