lsof: remove with statements

This commit is contained in:
Philip Taron 2024-08-16 14:05:29 -07:00
parent d3d5b2d2f5
commit 479dd4d050
No known key found for this signature in database

View File

@ -1,7 +1,7 @@
{ lib, stdenv, fetchFromGitHub, buildPackages, perl, which, ncurses, nukeReferences }:
let
dialect = with lib; last (splitString "-" stdenv.hostPlatform.system);
dialect = lib.last (lib.splitString "-" stdenv.hostPlatform.system);
in
stdenv.mkDerivation rec {
@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
cp lsof $out/bin
'';
meta = with lib; {
meta = {
homepage = "https://github.com/lsof-org/lsof";
description = "Tool to list open files";
mainProgram = "lsof";
@ -62,8 +62,8 @@ stdenv.mkDerivation rec {
socket (IPv6/IPv4/UNIX local), or partition (by opening a file
from it).
'';
license = licenses.purdueBsd;
maintainers = with maintainers; [ dezgeg ];
platforms = platforms.unix;
license = lib.licenses.purdueBsd;
maintainers = with lib.maintainers; [ dezgeg ];
platforms = lib.platforms.unix;
};
}