Compare commits
No commits in common. "3bf3391eb90e7b2cead773c262ecf0d8c8c8a4c9" and "0f8faadd80cb86c34d23b7e17f327de5f3f7acde" have entirely different histories.
3bf3391eb9
...
0f8faadd80
5 changed files with 0 additions and 64 deletions
|
@ -58,7 +58,6 @@ in {
|
||||||
krita.enable = true;
|
krita.enable = true;
|
||||||
ungoogled-chromium.enable = true;
|
ungoogled-chromium.enable = true;
|
||||||
libreoffice.enable = true;
|
libreoffice.enable = true;
|
||||||
mapillary-uploader.enable = true;
|
|
||||||
inkscape.enable = true;
|
inkscape.enable = true;
|
||||||
gimp.enable = true;
|
gimp.enable = true;
|
||||||
freecad.enable = true;
|
freecad.enable = true;
|
||||||
|
|
|
@ -22,8 +22,5 @@
|
||||||
(final: prev: {
|
(final: prev: {
|
||||||
codium-extensions = pkgs.callPackage ./codium-extensions {};
|
codium-extensions = pkgs.callPackage ./codium-extensions {};
|
||||||
})
|
})
|
||||||
(final: prev: {
|
|
||||||
mapillary-uploader = pkgs.callPackage ./mapillary-uploader.nix {};
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,42 +0,0 @@
|
||||||
{
|
|
||||||
lib,
|
|
||||||
fetchurl,
|
|
||||||
appimageTools,
|
|
||||||
}: let
|
|
||||||
pname = "mapillary-uploader";
|
|
||||||
version = "4.7.2"; # Based on the application output
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "https://tools.mapillary.com/uploader/download/linux";
|
|
||||||
name = "mapillary-uploader.AppImage";
|
|
||||||
sha256 = "sha256-Oyx7AIdA/2mwBaq7UzXOoyq/z2SU2sViMN40sY2RCQw=";
|
|
||||||
};
|
|
||||||
|
|
||||||
appimageContents = appimageTools.extractType2 {
|
|
||||||
inherit pname version src;
|
|
||||||
};
|
|
||||||
in
|
|
||||||
appimageTools.wrapType2 {
|
|
||||||
inherit pname version src;
|
|
||||||
|
|
||||||
extraInstallCommands = ''
|
|
||||||
# Install desktop file
|
|
||||||
install -Dm644 ${appimageContents}/mapillary-desktop-uploader.desktop $out/share/applications/mapillary-uploader.desktop
|
|
||||||
|
|
||||||
# Install icon
|
|
||||||
install -Dm644 ${appimageContents}/usr/share/icons/hicolor/0x0/apps/mapillary-desktop-uploader.png $out/share/pixmaps/mapillary-uploader.png
|
|
||||||
|
|
||||||
# Fix desktop file paths
|
|
||||||
substituteInPlace $out/share/applications/mapillary-uploader.desktop \
|
|
||||||
--replace 'Exec=AppRun' 'Exec=${pname}'
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Mapillary Desktop Uploader - Upload street-level imagery to Mapillary";
|
|
||||||
homepage = "https://www.mapillary.com/";
|
|
||||||
license = licenses.unfree; # Mapillary's license terms
|
|
||||||
maintainers = [];
|
|
||||||
platforms = ["x86_64-linux"];
|
|
||||||
sourceProvenance = with sourceTypes; [binaryNativeCode];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -21,7 +21,6 @@
|
||||||
./vscode
|
./vscode
|
||||||
./ungoogled-chromium.nix
|
./ungoogled-chromium.nix
|
||||||
./libreoffice.nix
|
./libreoffice.nix
|
||||||
./mapillary-uploader.nix
|
|
||||||
./inkscape.nix
|
./inkscape.nix
|
||||||
./gimp.nix
|
./gimp.nix
|
||||||
./proxmark3.nix
|
./proxmark3.nix
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.programs.mapillary-uploader;
|
|
||||||
in {
|
|
||||||
options.programs.mapillary-uploader = {
|
|
||||||
enable = mkEnableOption "Mapillary Desktop Uploader";
|
|
||||||
};
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
home.packages = [pkgs.mapillary-uploader];
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue