29 lines
506 B
Nix
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;
|
|
};
|
|
}
|