mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-09 23:33:34 +00:00
4a7f99d55d
Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
43 lines
1.2 KiB
Nix
43 lines
1.2 KiB
Nix
{ lib, stdenv, fetchurl, ncurses, gpm }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "jupp";
|
|
version = "39";
|
|
srcName = "joe-3.1${pname}${version}";
|
|
|
|
src = fetchurl {
|
|
urls = [
|
|
"https://www.mirbsd.org/MirOS/dist/jupp/${srcName}.tgz"
|
|
"https://pub.allbsd.org/MirOS/dist/jupp/${srcName}.tgz" ];
|
|
sha256 = "14gys92dy3kq9ikigry7q2x4w5v2z76d97vp212bddrxiqy5np8d";
|
|
};
|
|
|
|
preConfigure = "chmod +x ./configure";
|
|
|
|
buildInputs = [ ncurses gpm ];
|
|
|
|
configureFlags = [
|
|
"--enable-curses"
|
|
"--enable-termcap"
|
|
"--enable-termidx"
|
|
"--enable-getpwnam"
|
|
"--enable-largefile"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A portable fork of Joe's editor";
|
|
longDescription = ''
|
|
This is the portable version of JOE's Own Editor, which is currently
|
|
developed at sourceforge, licenced under the GNU General Public License,
|
|
Version 1, using autoconf/automake. This version has been enhanced by
|
|
several functions intended for programmers or other professional users,
|
|
and has a lot of bugs fixed. It is based upon an older version of joe
|
|
because these behave better overall.
|
|
'';
|
|
homepage = "http://www.mirbsd.org/jupp.htm";
|
|
license = licenses.gpl1;
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
};
|
|
}
|