tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
lv: init at 4.51
kayhide
6 years ago
2e68d1e5
b172c449
+35
2 changed files
expand all
collapse all
unified
split
pkgs
tools
text
lv
default.nix
top-level
all-packages.nix
+33
pkgs/tools/text/lv/default.nix
···
1
1
+
{ stdenv, fetchurl, ncurses }:
2
2
+
3
3
+
stdenv.mkDerivation rec {
4
4
+
pname = "lv";
5
5
+
version = "4.51";
6
6
+
7
7
+
src = fetchurl {
8
8
+
url = "mirror://debian/pool/main/l/${pname}/${pname}_${version}.orig.tar.gz";
9
9
+
sha256 = "0yf3idz1qspyff1if41xjpqqcaqa8q8icslqlnz0p9dj36gmm5l3";
10
10
+
};
11
11
+
12
12
+
makeFlags = [ "prefix=${placeholder "out"}" ];
13
13
+
14
14
+
buildInputs = [ ncurses ];
15
15
+
16
16
+
configurePhase = ''
17
17
+
mkdir -p build
18
18
+
cd build
19
19
+
../src/configure
20
20
+
'';
21
21
+
22
22
+
preInstall = ''
23
23
+
mkdir -p $out/bin
24
24
+
'';
25
25
+
26
26
+
meta = with stdenv.lib; {
27
27
+
description = "Powerful multi-lingual file viewer / grep";
28
28
+
homepage = "https://web.archive.org/web/20160310122517/www.ff.iij4u.or.jp/~nrt/lv/";
29
29
+
license = licenses.gpl2;
30
30
+
platforms = with platforms; linux ++ darwin;
31
31
+
maintainers = with maintainers; [ kayhide ];
32
32
+
};
33
33
+
}
+2
pkgs/top-level/all-packages.nix
···
4628
4628
4629
4629
ltris = callPackage ../games/ltris { };
4630
4630
4631
4631
+
lv = callPackage ../tools/text/lv { };
4632
4632
+
4631
4633
lxc = callPackage ../os-specific/linux/lxc { };
4632
4634
lxcfs = callPackage ../os-specific/linux/lxcfs { };
4633
4635
lxd = callPackage ../tools/admin/lxd { };