nixpkgs/pkgs/applications/misc/navipowm/default.nix

32 lines
810 B
Nix
Raw Normal View History

2021-01-15 05:42:41 +00:00
{ lib, stdenv, fetchurl, qt4, qmake4Hook }:
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 00:34:13 +01:00
preConfigure = ''
cd Qt/KDevelop
'';
installPhase = ''
mkdir -p $out/bin $out/share/${name}/Icons
cp bin/NaviPOWM $out/bin
cp ../../common/Config/navipowm.ini $out/share/${name}
cp ../../common/Images/* $out/share/${name}
'';
buildInputs = [ qt4 ];
2016-04-17 00:34:13 +01:00
nativeBuildInputs = [ qmake4Hook ];
meta = {
homepage = "http://navipowm.sourceforge.net/";
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;
};
}