From ac97fbab3a8225343f8a9594821e66af51af048c Mon Sep 17 00:00:00 2001 From: volth Date: Mon, 19 Dec 2016 09:12:05 +0000 Subject: fte: init at 0.50.02 --- pkgs/applications/editors/fte/default.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pkgs/applications/editors/fte/default.nix (limited to 'pkgs/applications/editors') diff --git a/pkgs/applications/editors/fte/default.nix b/pkgs/applications/editors/fte/default.nix new file mode 100644 index 000000000000..d32a3fb5f1b5 --- /dev/null +++ b/pkgs/applications/editors/fte/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchurl, unzip, perl, libX11, libXpm, gpm, ncurses, slang }: + +stdenv.mkDerivation rec { + name = "fte-0.50.02"; + + buildInputs = [ unzip perl libX11 libXpm gpm ncurses slang ]; + + ftesrc = fetchurl { + url = "mirror://sourceforge/fte/fte-20110708-src.zip"; + sha256 = "17j9akr19w19myglw5mljjw2g3i2cwxiqrjaln82h3rz5ma1qcfn"; + }; + ftecommon = fetchurl { + url = "mirror://sourceforge/fte/fte-20110708-common.zip"; + sha256 = "1xva4kh0674sj2b9rhf2amlr37yxmsvjkgyj89gpcn0rndw1ahaq"; + }; + src = [ ftesrc ftecommon ]; + + buildFlags = "PREFIX=$(out)"; + + installFlags = "PREFIX=$(out) INSTALL_NONROOT=1"; + + meta = with stdenv.lib; { + description = "A free text editor for developers"; + homepage = http://fte.sourceforge.net/; + license = licenses.gpl2; + maintainers = [ maintainers.volth ]; + platforms = platforms.all; + }; +} -- cgit 1.4.1