summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/ll/lls/package.nix
blob: 4ea6e913a363468becbe6dcde54c6898d7f8129c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  rustPlatform,
  fetchFromGitHub,
  lib,
}:
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "lls";
  version = "0.4.2";

  src = fetchFromGitHub {
    owner = "jcaesar";
    repo = "lls";
    tag = "v${finalAttrs.version}";
    hash = "sha256-eFGyrGtH57a5iRWHWqt1h58QMdmPf2rPqHnuVj5u6PQ=";
  };

  cargoHash = "sha256-TY7s0sIeW+FgxqbbYvK3uZ2RwPLVKKhLq3DOurer+Gc=";

  meta = {
    description = "Tool to list listening sockets";
    license = lib.licenses.mit;
    maintainers = [
      lib.maintainers.k900
      lib.maintainers.jcaesar
    ];
    platforms = lib.platforms.linux;
    homepage = "https://github.com/jcaesar/lls";
    mainProgram = "lls";
  };
})