Merge pull request #66629 from kayhide/add/lv

lv: init at 4.51
This commit is contained in:
Aaron Andersen 2019-10-12 17:48:39 -04:00 committed by GitHub
commit 7c1de1f14f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 0 deletions

View file

@ -3324,6 +3324,12 @@
email = "info+nix@chmist.com";
name = "karolchmist";
};
kayhide = {
email = "kayhide@gmail.com";
github = "kayhide";
githubId = 1730718;
name = "Hideaki Kawai";
};
kazcw = {
email = "kaz@lambdaverse.org";
github = "kazcw";

View file

@ -0,0 +1,33 @@
{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
pname = "lv";
version = "4.51";
src = fetchurl {
url = "mirror://debian/pool/main/l/${pname}/${pname}_${version}.orig.tar.gz";
sha256 = "0yf3idz1qspyff1if41xjpqqcaqa8q8icslqlnz0p9dj36gmm5l3";
};
makeFlags = [ "prefix=${placeholder "out"}" ];
buildInputs = [ ncurses ];
configurePhase = ''
mkdir -p build
cd build
../src/configure
'';
preInstall = ''
mkdir -p $out/bin
'';
meta = with stdenv.lib; {
description = "Powerful multi-lingual file viewer / grep";
homepage = "https://web.archive.org/web/20160310122517/www.ff.iij4u.or.jp/~nrt/lv/";
license = licenses.gpl2;
platforms = with platforms; linux ++ darwin;
maintainers = with maintainers; [ kayhide ];
};
}

View file

@ -4689,6 +4689,8 @@ in
ltris = callPackage ../games/ltris { };
lv = callPackage ../tools/text/lv { };
lxc = callPackage ../os-specific/linux/lxc { };
lxcfs = callPackage ../os-specific/linux/lxcfs { };
lxd = callPackage ../tools/admin/lxd { };