2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, qt4, qmake4Hook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "navipowm";
|
|
|
|
version = "0.2.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-12-06 16:07:01 +00:00
|
|
|
url = "mirror://sourceforge/navipowm/NaviPOWM-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "1kdih8kwpgcgfh6l6njkr9gq2j5hv39xvzmzgvhip553kn6bss7b";
|
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cd Qt/KDevelop
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
2021-12-06 16:07:01 +00:00
|
|
|
mkdir -p $out/bin $out/share/navipowm-${version}/Icons
|
2020-04-24 23:36:52 +00:00
|
|
|
cp bin/NaviPOWM $out/bin
|
2021-12-06 16:07:01 +00:00
|
|
|
cp ../../common/Config/navipowm.ini $out/share/navipowm-${version}
|
|
|
|
cp ../../common/Images/* $out/share/navipowm-${version}
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ qt4 ];
|
|
|
|
nativeBuildInputs = [ qmake4Hook ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://navipowm.sourceforge.net/";
|
|
|
|
description = "Car navigation system";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = with lib.maintainers; [ ];
|
|
|
|
platforms = with lib.platforms; linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|