git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #114350 from AndersonTorres/new-jupp
2e8a2bbAnderson Torres
pkgs/applications/editors/jupp/default.nix+20−10
@@ -1,31 +1,41 @@
1+{ lib
2+, stdenv
1−{ lib, stdenv, fetchurl, ncurses, gpm }:
3+, fetchurl
4+, ncurses
5+, gpm
6+}:
2
7
3stdenv.mkDerivation rec {
8stdenv.mkDerivation rec {
4−
5 pname = "jupp";
9 pname = "jupp";
6− version = "39";
10+ version = "40";
7 srcName = "joe-3.1${pname}${version}";
11 srcName = "joe-3.1${pname}${version}";
8
12
9 src = fetchurl {
13 src = fetchurl {
10 urls = [
14 urls = [
11 "https://www.mirbsd.org/MirOS/dist/jupp/${srcName}.tgz"
15 "https://www.mirbsd.org/MirOS/dist/jupp/${srcName}.tgz"
12− "https://pub.allbsd.org/MirOS/dist/jupp/${srcName}.tgz" ];
16+ "https://pub.allbsd.org/MirOS/dist/jupp/${srcName}.tgz"
13− sha256 = "14gys92dy3kq9ikigry7q2x4w5v2z76d97vp212bddrxiqy5np8d";
17+ ];
18+ sha256 = "S+1DnN5/K+KU6W5J7z6RPqkPvl6RTbiIQD46J+gDWxo=";
14 };
19 };
15
20
16 preConfigure = "chmod +x ./configure";
21 preConfigure = "chmod +x ./configure";
17
22
18− buildInputs = [ ncurses gpm ];
23+ buildInputs = [
24+ gpm
25+ ncurses
26+ ];
19
27
20 configureFlags = [
28 configureFlags = [
21 "--enable-curses"
29 "--enable-curses"
22− "--enable-termcap"
23− "--enable-termidx"
24 "--enable-getpwnam"
30 "--enable-getpwnam"
25 "--enable-largefile"
31 "--enable-largefile"
32+ "--enable-termcap"
33+ "--enable-termidx"
26 ];
34 ];
27
35
28 meta = with lib; {
36 meta = with lib; {
37+ homepage = "http://www.mirbsd.org/jupp.htm";
38+ downloadPage = "https://www.mirbsd.org/MirOS/dist/jupp/";
29 description = "A portable fork of Joe's editor";
39 description = "A portable fork of Joe's editor";
30 longDescription = ''
40 longDescription = ''
31 This is the portable version of JOE's Own Editor, which is currently
41 This is the portable version of JOE's Own Editor, which is currently
@@ -35,8 +45,8 @@ stdenv.mkDerivation rec {
35 and has a lot of bugs fixed. It is based upon an older version of joe
45 and has a lot of bugs fixed. It is based upon an older version of joe
36 because these behave better overall.
46 because these behave better overall.
37 '';
47 '';
38− homepage = "http://www.mirbsd.org/jupp.htm";
39− license = licenses.gpl1;
48+ license = licenses.gpl1Only;
40 maintainers = with maintainers; [ AndersonTorres ];
49 maintainers = with maintainers; [ AndersonTorres ];
50+ platforms = with platforms; unix;
41 };
51 };
42}
52}