about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/editors/joe/builder.sh9
-rw-r--r--pkgs/applications/editors/joe/default.nix10
-rw-r--r--pkgs/applications/editors/joe/test.nix1
3 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/applications/editors/joe/builder.sh b/pkgs/applications/editors/joe/builder.sh
new file mode 100644
index 000000000000..be70986bf437
--- /dev/null
+++ b/pkgs/applications/editors/joe/builder.sh
@@ -0,0 +1,9 @@
+source $stdenv/setup
+
+PATH=$PATH
+set
+tar xvfz $src
+cd joe-*
+./configure --prefix=$out
+make
+make install
diff --git a/pkgs/applications/editors/joe/default.nix b/pkgs/applications/editors/joe/default.nix
new file mode 100644
index 000000000000..24fc4ceb36ab
--- /dev/null
+++ b/pkgs/applications/editors/joe/default.nix
@@ -0,0 +1,10 @@
+{stdenv, fetchurl} :
+
+stdenv.mkDerivation {
+name = "joe-3.3";
+builder = ./builder.sh;
+src = fetchurl {
+         url = http://surfnet.dl.sourceforge.net/sourceforge/joe-editor/joe-3.3.tar.gz;
+         md5 = "02221716679c039c5da00c275d61dbf4";
+   };
+}
diff --git a/pkgs/applications/editors/joe/test.nix b/pkgs/applications/editors/joe/test.nix
new file mode 100644
index 000000000000..7d7dc1064ea9
--- /dev/null
+++ b/pkgs/applications/editors/joe/test.nix
@@ -0,0 +1 @@
+(import ../../../../pkgs/system/i686-linux.nix).joe