2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 23:23:07 +00:00
nixpkgs/pkgs/applications/editors/fte/default.nix
Felix Bühler fbdf78236a
pkgs/applications: rename name to pname&version part 1 ()
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-11-07 21:29:51 +01:00

32 lines
910 B
Nix

{ lib, stdenv, fetchurl, unzip, perl, libX11, libXpm, gpm, ncurses, slang }:
stdenv.mkDerivation rec {
pname = "fte";
version = "0.50.02";
nativeBuildInputs = [ unzip ];
buildInputs = [ 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 lib; {
description = "A free text editor for developers";
homepage = "http://fte.sourceforge.net/";
license = licenses.gpl2;
maintainers = [ maintainers.volth ];
platforms = platforms.all;
};
}