forked from mirrors/nixpkgs
Merge pull request #16707 from vrthra/edit-editor
edit: Init at 20160425
This commit is contained in:
commit
b51cf2626e
39
pkgs/applications/editors/edit/default.nix
Normal file
39
pkgs/applications/editors/edit/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
@ -1398,6 +1398,8 @@ in
|
|||
|
||||
editres = callPackage ../tools/graphics/editres { };
|
||||
|
||||
edit = callPackage ../applications/editors/edit { };
|
||||
|
||||
edk2 = callPackage ../development/compilers/edk2 { };
|
||||
|
||||
eid-mw = callPackage ../tools/security/eid-mw { };
|
||||
|
|
Loading…
Reference in a new issue