Files
nixpkgs/pkgs/by-name/ls/lsb-release/package.nix
2025-07-06 00:00:32 +05:30

29 lines
506 B
Nix

{
replaceVarsWith,
lib,
runtimeShell,
coreutils,
getopt,
}:
replaceVarsWith {
name = "lsb_release";
src = ./lsb_release.sh;
dir = "bin";
isExecutable = true;
replacements = {
inherit coreutils getopt runtimeShell;
};
meta = with lib; {
description = "Prints certain LSB (Linux Standard Base) and Distribution information";
mainProgram = "lsb_release";
license = [ licenses.mit ];
maintainers = with maintainers; [ ];
platforms = platforms.linux;
};
}