mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
top: init at 108
This commit is contained in:
parent
1914ef6040
commit
5211410e69
2 changed files with 13 additions and 0 deletions
|
@ -45,6 +45,7 @@ let
|
|||
shell_cmds = "187";
|
||||
system_cmds = "550.6";
|
||||
diskdev_cmds = "593";
|
||||
top = "108";
|
||||
};
|
||||
"osx-10.11.5" = {
|
||||
Libc = "1082.50.1"; # 10.11.6 still unreleased :/
|
||||
|
@ -249,6 +250,7 @@ let
|
|||
file_cmds = applePackage "file_cmds" "osx-10.11.6" "1zfxbmasps529pnfdjvc13p7ws2cfx8pidkplypkswyff0nff4wp" {};
|
||||
shell_cmds = applePackage "shell_cmds" "osx-10.11.6" "0084k271v66h4jqp7q7rmjvv7w4mvhx3aq860qs8jbd30canm86n" {};
|
||||
system_cmds = applePackage "system_cmds" "osx-10.11.6" "1h46j2c5v02pkv5d9fyv6cpgyg0lczvwicrx6r9s210cl03l77jl" {};
|
||||
top = applePackage "top" "osx-10.11.6" "0i9120rfwapgwdvjbfg0ya143i29s1m8zbddsxh39pdc59xnsg5l" {};
|
||||
|
||||
security_systemkeychain = applePackage "security_systemkeychain" "osx-10.10.5" "0xviskdgxsail15npi0billyiysvljlmg38mmhnr7qi4ymnnjr90" {};
|
||||
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
{xcbuild, appleDerivation, apple_sdk, ncurses, libutil-new}:
|
||||
|
||||
appleDerivation {
|
||||
buildInputs = [ xcbuild apple_sdk.frameworks.IOKit ncurses libutil-new ];
|
||||
NIX_LDFLAGS = "-lutil";
|
||||
installPhase = ''
|
||||
install -D Products/Release/libtop.a $out/lib/libtop.a
|
||||
install -D Products/Release/libtop.h $out/include/libtop.h
|
||||
install -D Products/Release/top $out/bin/top
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue