|
|
|
@ -14,6 +14,15 @@ stdenv.mkDerivation rec { |
|
|
|
|
hash = "sha256-Z8B1RIFve3UPj+9G/WJX0BNc2ynG/qtoGfoesarYGz8="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
postPatch = lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) '' |
|
|
|
|
substituteInPlace configure --replace "./conftest" "echo" |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
installPhase = '' |
|
|
|
|
install -m755 -Dt $out/bin ed |
|
|
|
|
install -m644 -Dt $out/share/man/man1 ed.1 |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|
homepage = "https://github.com/ibara/oed"; |
|
|
|
|
description = "Portable ed editor from OpenBSD"; |
|
|
|
|