mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
23 lines
447 B
Nix
23 lines
447 B
Nix
{ substituteAll, lib
|
|
, coreutils, getopt
|
|
}:
|
|
|
|
substituteAll {
|
|
name = "lsb_release";
|
|
|
|
src = ./lsb_release.sh;
|
|
|
|
dir = "bin";
|
|
isExecutable = true;
|
|
|
|
inherit coreutils getopt;
|
|
|
|
meta = with lib; {
|
|
description = "Prints certain LSB (Linux Standard Base) and Distribution information";
|
|
mainProgram = "lsb_release";
|
|
license = [ licenses.mit ];
|
|
maintainers = with maintainers; [ primeos ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|