2016-04-17 01:34:13 +02:00
|
|
|
{ stdenv, fetchurl, qt4, qmake4Hook }:
|
2010-08-22 14:04:03 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "navipowm-0.2.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://sourceforge/navipowm/NaviPOWM-0.2.4.tar.gz;
|
|
|
|
sha256 = "1kdih8kwpgcgfh6l6njkr9gq2j5hv39xvzmzgvhip553kn6bss7b";
|
|
|
|
};
|
|
|
|
|
2016-04-17 01:34:13 +02:00
|
|
|
preConfigure = ''
|
2010-08-22 14:04:03 +02:00
|
|
|
cd Qt/KDevelop
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/bin $out/share/${name}/Icons
|
2010-08-22 14:04:03 +02:00
|
|
|
cp bin/NaviPOWM $out/bin
|
2010-08-22 14:07:50 +02:00
|
|
|
cp ../../common/Config/navipowm.ini $out/share/${name}
|
|
|
|
cp ../../common/Images/* $out/share/${name}
|
2010-08-22 14:04:03 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ qt4 ];
|
2016-04-17 01:34:13 +02:00
|
|
|
nativeBuildInputs = [ qmake4Hook ];
|
2010-08-22 14:04:03 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://navipowm.sourceforge.net/;
|
|
|
|
description = "Car navigation system";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2010-08-22 14:04:03 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ viric ];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|