nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 3480d69df395719073b4f5337e4cce84c17e97f4
parent fcc691fdbfbbf1a527f3b8956f73b817ef70c9f2
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Fri, 24 Jul 2020 01:26:46 +0300

Add openorienteering-mapper-bin

Diffstat:
Apkgs/applications/openorienteering-mapper/bin.nix | 33+++++++++++++++++++++++++++++++++
Mpkgs/default.nix | 1+
2 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/pkgs/applications/openorienteering-mapper/bin.nix b/pkgs/applications/openorienteering-mapper/bin.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchfromgh, undmg, sources }: +let + pname = "Openorienteering-Mapper"; + version = "0.9.3"; +in +stdenv.mkDerivation { + inherit pname version; + + src = fetchfromgh { + owner = "OpenOrienteering"; + repo = "mapper"; + version = "v${version}"; + name = "OpenOrienteering-Mapper-${version}-macOS.dmg"; + sha256 = "18fpspa7sjl6xig12g7zm6106wzllj2g1p0ls3h5x3az2rl4ww12"; + }; + + preferLocalBuild = true; + + buildInputs = [ undmg ]; + + installPhase = '' + mkdir -p $out/Applications/Mapper.app + cp -R . $out/Applications/Mapper.app + ''; + + meta = with stdenv.lib; { + inherit (sources.mapper) description homepage; + license = licenses.gpl3; + maintainers = maintainers.sikmir; + platforms = [ "x86_64-darwin" ]; + skip.ci = true; + }; +} diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -23,6 +23,7 @@ lib.makeScope newScope ( openorienteering-mapper = libsForQt5.callPackage ./applications/openorienteering-mapper { inherit sources; }; + openorienteering-mapper-bin = callPackage ./applications/openorienteering-mapper/bin.nix { }; qmapshack-bin = callPackage ./applications/qmapshack/bin.nix { }; redict = libsForQt5.callPackage ./applications/redict { inherit sources;