nixpkgs/pkgs/tools/misc/natls/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
612 B
Nix
Raw Normal View History

2021-10-01 05:24:31 +00:00
{ 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=";
};
cargoHash = "sha256-Am4HmfmhskKxcp1iWod5z3caHwsdo31qCaVi0UxTXAg=";
2021-10-01 05:24:31 +00:00
meta = with lib; {
description = "'ls' replacement you never knew you needed";
homepage = "https://github.com/willdoescode/nat";
license = licenses.mit;
maintainers = with maintainers; [ cafkafk ];
2023-11-27 01:17:53 +00:00
mainProgram = "natls";
2021-10-01 05:24:31 +00:00
};
}