Merge pull request #209411 from atorres1985-contrib/edlin

edlin: init at 2.21
This commit is contained in:
Anderson Torres 2023-01-07 10:34:30 -03:00 committed by GitHub
commit 7808480f16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib
, stdenv
, fetchurl
}:
stdenv.mkDerivation (finalAttrs: {
pname = "edlin";
version = "2.21";
src = let
inherit (finalAttrs) version;
in fetchurl {
url = "mirror://sourceforge/freedos-edlin/freedos-edlin/${version}/edlin-${version}.tar.bz2";
hash = "sha256-lQ/tw8dvEKV81k5GV05o49glOmfYcEeJBmgPUmL3S2I=";
};
postInstall = ''
mkdir -p $out/share/doc/edlin-${finalAttrs.version}/
cp AUTHORS ChangeLog README TODO edlin.htm $out/share/doc/edlin-${finalAttrs.version}/
'';
meta = with lib; {
homepage = "https://sourceforge.net/projects/freedos-edlin/";
description = "FreeDOS line editor";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = with platforms; unix;
};
})

View file

@ -28503,6 +28503,8 @@ with pkgs;
edbrowse = callPackage ../applications/editors/edbrowse { };
edlin = callPackage ../applications/editors/edlin { };
o = callPackage ../applications/editors/o { };
oed = callPackage ../applications/editors/oed { };