1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 06:05:13 +00:00
nixpkgs/pkgs/applications/misc/gpxsee/default.nix

34 lines
689 B
Nix
Raw Normal View History

2016-06-25 06:03:03 +01:00
{ stdenv, fetchFromGitHub, qmakeHook }:
stdenv.mkDerivation rec {
name = "gpxsee-${version}";
2016-08-29 02:38:12 +01:00
version = "2.17";
2016-06-25 06:03:03 +01:00
src = fetchFromGitHub {
owner = "tumic0";
repo = "GPXSee";
rev = version;
2016-08-29 02:38:12 +01:00
sha256 = "1422kgj972ydasqqm0k02qf3v2py7if2ibri7yjg8awqilacy6by";
2016-06-25 06:03:03 +01: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;
};
}