3
0
Fork 0
forked from mirrors/nixpkgs

edlin: init at 2.21

This commit is contained in:
AndersonTorres 2023-01-07 00:49:13 -03:00
parent 724d96642b
commit 4075c1974c
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

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