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