2010-12-29 19:04:11 +01:00
|
|
|
{ stdenv, opensp }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "sp-compat-${builtins.substring 7 100 opensp.name}";
|
|
|
|
|
2013-03-18 15:05:53 +01:00
|
|
|
phases = [ "fixupPhase" "installPhase" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
2010-12-29 19:04:11 +01:00
|
|
|
mkdir -pv $out/bin
|
|
|
|
for i in ${opensp}/bin/o*; do
|
|
|
|
ln -sv $i $out/bin/''${i#${opensp}/bin/o}
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2013-03-18 15:05:53 +01:00
|
|
|
setupHook = opensp.setupHook;
|
|
|
|
|
2010-12-29 19:04:11 +01:00
|
|
|
meta.description =
|
|
|
|
"Compatibility wrapper for old programs looking for original sp programs";
|
|
|
|
}
|