Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 28 lines 506 B view raw
1{ 2 replaceVarsWith, 3 lib, 4 runtimeShell, 5 coreutils, 6 getopt, 7}: 8 9replaceVarsWith { 10 name = "lsb_release"; 11 12 src = ./lsb_release.sh; 13 14 dir = "bin"; 15 isExecutable = true; 16 17 replacements = { 18 inherit coreutils getopt runtimeShell; 19 }; 20 21 meta = with lib; { 22 description = "Prints certain LSB (Linux Standard Base) and Distribution information"; 23 mainProgram = "lsb_release"; 24 license = [ licenses.mit ]; 25 maintainers = with maintainers; [ ]; 26 platforms = platforms.linux; 27 }; 28}