eboard: fix build
Add perl dependency and patch ./configure to use it.
This commit is contained in:
parent
20c1ef63cb
commit
a3c2bd5aec
|
@ -1,8 +1,8 @@
|
|||
{ stdenv, fetchurl, pkgconfig, gtk }:
|
||||
{ stdenv, fetchurl, perl, pkgconfig, gtk }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "eboard-1.1.1";
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/eboard/eboard-1.1.1.tar.bz2;
|
||||
sha256 = "0vm25j1s2zg1lipwjv9qrcm877ikfmk1yh34i8f5l3bwd63115xd";
|
||||
|
@ -10,7 +10,14 @@ stdenv.mkDerivation {
|
|||
|
||||
patches = [ ./eboard.patch ];
|
||||
|
||||
buildInputs = [ pkgconfig gtk ];
|
||||
buildInputs = [ gtk ];
|
||||
nativeBuildInputs = [ perl pkgconfig ];
|
||||
|
||||
preConfigure = ''
|
||||
patchShebangs ./configure
|
||||
'';
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-fpermissive" ];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.bergo.eng.br/eboard/;
|
||||
|
|
Loading…
Reference in a new issue