bviplus: fix build with gcc5 (inline semantics)

This commit is contained in:
Robin Gloster
2016-02-07 16:06:56 +00:00
parent 955a9a3be7
commit 56ae3db53f
2 changed files with 20 additions and 3 deletions
@@ -1,17 +1,23 @@
{ stdenv, lib, fetchurl, ncurses }:
{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
name = "bviplus-${version}";
version = "0.9.4";
src = fetchurl {
url = "http://downloads.sourceforge.net/project/bviplus/bviplus/${version}/bviplus-${version}.tgz";
url = "mirror://sourceforge/project/bviplus/bviplus/${version}/bviplus-${version}.tgz";
sha256 = "10x6fbn8v6i0y0m40ja30pwpyqksnn8k2vqd290vxxlvlhzah4zb";
};
buildInputs = [
ncurses
];
patches = [ ./gcc5.diff ];
makeFlags = "PREFIX=$(out)";
meta = with lib; {
meta = with stdenv.lib; {
description = "ncurses based hex editor with a vim-like interface";
homepage = "http://bviplus.sourceforge.net";
license = licenses.gpl3;