tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
noice: init at 0.6
Johannes Frankenau
8 years ago
5dc2f6b3
01c3847b
+33
2 changed files
expand all
collapse all
unified
split
pkgs
applications
misc
noice
default.nix
top-level
all-packages.nix
+31
pkgs/applications/misc/noice/default.nix
···
1
1
+
{ stdenv, fetchgit, ncurses, conf ? null }:
2
2
+
3
3
+
with stdenv.lib;
4
4
+
5
5
+
stdenv.mkDerivation rec {
6
6
+
name = "noice-${version}";
7
7
+
version = "0.6";
8
8
+
9
9
+
src = fetchgit {
10
10
+
url = "git://git.2f30.org/noice.git";
11
11
+
rev = "refs/tags/v${version}";
12
12
+
sha256 = "03rwglcy47fh6rb630vws10m95bxpcfv47nxrlws2li2ljam8prw";
13
13
+
};
14
14
+
15
15
+
configFile = optionalString (conf!=null) (builtins.toFile "config.def.h" conf);
16
16
+
preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h";
17
17
+
18
18
+
buildInputs = [ ncurses ];
19
19
+
20
20
+
buildFlags = [ "LDLIBS=-lncurses" ];
21
21
+
22
22
+
installFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
23
23
+
24
24
+
meta = {
25
25
+
description = "Small ncurses-based file browser";
26
26
+
homepage = https://git.2f30.org/noice/;
27
27
+
license = licenses.bsd2;
28
28
+
platforms = platforms.all;
29
29
+
maintainers = with maintainers; [ jfrankenau ];
30
30
+
};
31
31
+
}
+2
pkgs/top-level/all-packages.nix
···
3323
3323
3324
3324
ngrok = callPackage ../tools/networking/ngrok { };
3325
3325
3326
3326
+
noice = callPackage ../applications/misc/noice { };
3327
3327
+
3326
3328
noip = callPackage ../tools/networking/noip { };
3327
3329
3328
3330
nomad = callPackage ../applications/networking/cluster/nomad { };