nixpkgs/pkgs/applications/editors/fte/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
893 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, unzip, perl, libX11, libXpm, gpm, ncurses, slang }:
2016-12-19 09:12:05 +00:00
stdenv.mkDerivation rec {
pname = "fte";
version = "0.50.02";
2016-12-19 09:12:05 +00:00
nativeBuildInputs = [ unzip ];
buildInputs = [ perl libX11 libXpm gpm ncurses slang ];
2016-12-19 09:12:05 +00:00
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)" ];
2016-12-19 09:12:05 +00:00
installFlags = [ "PREFIX=$(out)" "INSTALL_NONROOT=1" ];
2016-12-19 09:12:05 +00:00
meta = with lib; {
2016-12-19 09:12:05 +00:00
description = "A free text editor for developers";
homepage = "https://fte.sourceforge.net/";
2016-12-19 09:12:05 +00:00
license = licenses.gpl2;
maintainers = [ ];
2016-12-19 09:12:05 +00:00
platforms = platforms.all;
};
}