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