]>
Commit | Line | Data |
---|---|---|
65b715d7 | 1 | { buildApp, nextcloudVersion }: |
792ccef2 IB |
2 | let |
3 | gpxedit_0_0_14 = buildApp rec { | |
4 | appName = "gpxedit"; | |
5 | version = "0.0.14"; | |
6 | url = "https://gitlab.com/eneiluj/gpxedit-oc/wikis/uploads/5b184c24f9e767ad19a84e177a9b473c/${appName}-${version}.tar.gz"; | |
7 | sha256 = "1kgpcxps73l83krrjxdzh4vzacja4m3vwidf9kidgqq505cgzq90"; | |
8 | otherConfig = { | |
9 | mimetypealiases = { | |
10 | "application/gpx+xml" = "gpx"; | |
11 | }; | |
12 | mimetypemapping = { | |
13 | "gpx" = ["application/gpx+xml"]; | |
14 | }; | |
3a1461cf IB |
15 | }; |
16 | }; | |
792ccef2 IB |
17 | versions = { |
18 | "14" = gpxedit_0_0_14; | |
19 | "15" = gpxedit_0_0_14; | |
20 | "16" = gpxedit_0_0_14; | |
21 | "17" = gpxedit_0_0_14; | |
22 | "18" = gpxedit_0_0_14; | |
23 | "19" = gpxedit_0_0_14; | |
24 | "20" = gpxedit_0_0_14; | |
25 | "21" = gpxedit_0_0_14; | |
26 | "22" = gpxedit_0_0_14; | |
27 | "23" = gpxedit_0_0_14; | |
28 | }; | |
29 | in | |
30 | versions."${builtins.toString nextcloudVersion}" or (throw "Unsupported version for nextcloud app gpxedit") |