bin.nix (793B)
1 { lib, stdenv, fetchurl, undmg }: 2 3 stdenv.mkDerivation rec { 4 pname = "gpxsee-bin"; 5 version = "9.5"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/gpxsee/GPXSee-${version}.dmg"; 9 hash = "sha256-7w5sPOHGrAQFTr+2J5txlgWQ2M2eyy/+tg4yLZy6IoQ="; 10 }; 11 12 preferLocalBuild = true; 13 14 nativeBuildInputs = [ undmg ]; 15 16 sourceRoot = "."; 17 18 installPhase = '' 19 mkdir -p $out/Applications 20 cp -r *.app $out/Applications 21 ''; 22 23 meta = with lib; { 24 description = "GPS log file viewer and analyzer"; 25 homepage = "https://www.gpxsee.org"; 26 changelog = "https://build.opensuse.org/package/view_file/home:tumic:GPXSee/gpxsee/gpxsee.changes"; 27 license = licenses.gpl3Only; 28 maintainers = [ maintainers.sikmir ]; 29 platforms = [ "x86_64-darwin" ]; 30 skip.ci = true; 31 }; 32 }