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

34 lines
689 B
Nix
Raw Normal View History

2016-06-25 07:03:03 +02:00
{ stdenv, fetchFromGitHub, qmakeHook }:
stdenv.mkDerivation rec {
name = "gpxsee-${version}";
2016-08-29 03:38:12 +02:00
version = "2.17";
2016-06-25 07:03:03 +02:00
src = fetchFromGitHub {
owner = "tumic0";
repo = "GPXSee";
rev = version;
2016-08-29 03:38:12 +02:00
sha256 = "1422kgj972ydasqqm0k02qf3v2py7if2ibri7yjg8awqilacy6by";
2016-06-25 07:03:03 +02:00
};
nativeBuildInputs = [ qmakeHook ];
patchPhase = ''
sed -i '/lang\/gpxsee_cs.qm/d' gpxsee.qrc
'';
preFixup = ''
mkdir -p $out/bin
cp GPXSee $out/bin
'';
meta = with stdenv.lib; {
homepage = http://tumic.wz.cz/gpxsee;
description = "GPX viewer and analyzer";
license = licenses.gpl3;
maintainers = [ maintainers.womfoo ];
platforms = platforms.linux;
};
}