Files
nixpkgs/pkgs/by-name/ls/lse/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

41 lines
953 B
Nix

{
lib,
stdenv,
bash,
fetchFromGitHub,
makeWrapper,
}:
stdenv.mkDerivation rec {
pname = "lse";
version = "4.14nw";
src = fetchFromGitHub {
owner = "diego-treitos";
repo = "linux-smart-enumeration";
tag = version;
hash = "sha256-qGLmrbyeyhHG6ONs7TJLTm68xpvxB1iAnMUApfTSqEk=";
};
buildInputs = [ bash ];
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/bin
cp lse.sh $out/bin/lse.sh
wrapProgram $out/bin/lse.sh \
--prefix PATH : ${lib.makeBinPath [ bash ]}
'';
meta = {
description = "Linux enumeration tool with verbosity levels";
homepage = "https://github.com/diego-treitos/linux-smart-enumeration";
changelog = "https://github.com/diego-treitos/linux-smart-enumeration/releases/tag/${version}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "lse.sh";
platforms = lib.platforms.all;
};
}