summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/editors/edit
diff options
context:
space:
mode:
authorRahul Gopinath <rahul@gopinath.org>2016-04-25 15:26:38 -0700
committerRahul Gopinath <rahul@gopinath.org>2016-07-04 14:01:50 -0700
commit92c903cb1bba35485773189a6e52f0bbc8788244 (patch)
tree891cec383015cad3a539d6bd741a7a2592874c7d /pkgs/applications/editors/edit
parent89523c117b09eac8958db14ff68119dae17bf7b1 (diff)
edit: Init at 20160425
Diffstat (limited to 'pkgs/applications/editors/edit')
-rw-r--r--pkgs/applications/editors/edit/default.nix39
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/applications/editors/edit/default.nix b/pkgs/applications/editors/edit/default.nix
new file mode 100644
index 000000000000..1a76ab405327
--- /dev/null
+++ b/pkgs/applications/editors/edit/default.nix
@@ -0,0 +1,39 @@
+{ stdenv, fetchgit, unzip, pkgconfig, ncurses, libX11, libXft, cwebbin }:
+
+stdenv.mkDerivation rec {
+ name = "edit-nightly-${version}";
+ version = "20160425";
+
+ src = fetchgit {
+ url = git://c9x.me/ed.git;
+ rev = "323d49b68c5e804ed3b8cada0e2274f1589b3484";
+ sha256 = "0wv8i3ii7cd9bqhjpahwp2g5fcmyk365nc7ncmvl79cxbz3f7y8v";
+ };
+
+ buildInputs = [
+ unzip
+ pkgconfig
+ ncurses
+ libX11
+ libXft
+ cwebbin
+ ];
+
+ buildPhase = ''
+ ctangle *.w
+ make
+ '';
+
+ installPhase = ''
+ mkdir -p $out/bin/
+ cp obj/edit $out/bin/edit
+ '';
+
+ meta = with stdenv.lib; {
+ description = "A relaxing mix of Vi and ACME";
+ homepage = http://c9x.me/edit;
+ license = licenses.publicDomain;
+ maintainers = [ maintainers.vrthra ];
+ };
+}
+