Skip to content

Commit

Permalink
Merge pull request #27091 from jfrankenau/init-noice
Browse files Browse the repository at this point in the history
noice: init at 0.6
  • Loading branch information
joachifm committed Jul 4, 2017
2 parents e31dff8 + 5dc2f6b commit 7e86d0e
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
31 changes: 31 additions & 0 deletions pkgs/applications/misc/noice/default.nix
@@ -0,0 +1,31 @@
{ stdenv, fetchgit, ncurses, conf ? null }:

with stdenv.lib;

stdenv.mkDerivation rec {
name = "noice-${version}";
version = "0.6";

src = fetchgit {
url = "git://git.2f30.org/noice.git";
rev = "refs/tags/v${version}";
sha256 = "03rwglcy47fh6rb630vws10m95bxpcfv47nxrlws2li2ljam8prw";
};

configFile = optionalString (conf!=null) (builtins.toFile "config.def.h" conf);
preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h";

buildInputs = [ ncurses ];

buildFlags = [ "LDLIBS=-lncurses" ];

installFlags = [ "DESTDIR=$(out)" "PREFIX=" ];

meta = {
description = "Small ncurses-based file browser";
homepage = https://git.2f30.org/noice/;
license = licenses.bsd2;
platforms = platforms.all;
maintainers = with maintainers; [ jfrankenau ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -3323,6 +3323,8 @@ with pkgs;

ngrok = callPackage ../tools/networking/ngrok { };

noice = callPackage ../applications/misc/noice { };

noip = callPackage ../tools/networking/noip { };

nomad = callPackage ../applications/networking/cluster/nomad { };
Expand Down

0 comments on commit 7e86d0e

Please sign in to comment.