diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-01-07 10:34:30 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-07 10:34:30 -0300 |
commit | 7808480f16d83b91c95409cfb1b652f1bb7bb5fb (patch) | |
tree | 2ea406636791198ae07d5952c6650eed98efe63a /pkgs | |
parent | b29899b83fb9fb96966eb8ee51572857211b58c4 (diff) | |
parent | 4075c1974ccd937794082f42faf1906328efe129 (diff) |
Merge pull request #209411 from atorres1985-contrib/edlin
edlin: init at 2.21
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/editors/edlin/default.nix | 29 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/editors/edlin/default.nix b/pkgs/applications/editors/edlin/default.nix new file mode 100644 index 0000000000000..9de4f8d4a8c78 --- /dev/null +++ b/pkgs/applications/editors/edlin/default.nix @@ -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; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e19b240a97fa4..2c600abb4c12f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { }; |