nur-packages

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

commit 0aace049268b99d6ba1046748c110c68fc418109
parent 320313a4b98ac0cbd6e1fe2bfcee73b78d17360c
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Sat, 28 Nov 2020 12:37:02 +0300

qmapshack-bin: 1.15.0 -> 1.15.1

Diffstat:
Mpkgs/applications/gis/qmapshack/bin.nix | 17++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/pkgs/applications/gis/qmapshack/bin.nix b/pkgs/applications/gis/qmapshack/bin.nix @@ -1,15 +1,22 @@ -{ stdenv, fetchfromgh, unzip }: +{ stdenv, fetchfromgh, unzip, sdkVersion ? "10.13" }: + +assert stdenv.lib.assertOneOf "sdkVersion" sdkVersion [ "10.13" "10.14" "10.15" "11.0.1" ]; stdenv.mkDerivation rec { pname = "qmapshack-bin"; - version = "1.15.0"; + version = "1.15.1"; src = fetchfromgh { owner = "Maproom"; - repo = pname; + repo = "qmapshack"; version = "V_${version}"; - name = "QMapShack_OSX.${stdenv.appleSdkVersion}_${version}.zip"; - sha256 = "0dhl2km0xbv77xabjwdiv3y1psbjwjlyqs5222ji5d33wxl8m07n"; + name = "QMapShack_OSX.${sdkVersion}_${version}.zip"; + sha256 = { + "10.13" = "0yxciyjx30ba9dydy4dad7llybisnab134895wwbxf42mbmsh9wp"; + "10.14" = "0pp4zl6rpkxkzik900x8izjn54nm3q33shqjq89z00rcjmy3xl57"; + "10.15" = "0lz4d7x7f2kx4wpxnmpdpzydalkysj5vnlswlc14q5jrdggsp3j5"; + "11.0.1" = "1jcgcav8zax123i0pz7wp08xmjckm02avb20bfq733hfxd3j6yg4"; + }.${sdkVersion}; }; sourceRoot = ".";