mapshot: init 0.0.22
This commit is contained in:
parent
f40363797f
commit
2c957085dd
3 changed files with 36 additions and 0 deletions
|
@ -261,6 +261,7 @@
|
||||||
dnspyre = pkgs.callPackage ./pkgs/dnspyre { };
|
dnspyre = pkgs.callPackage ./pkgs/dnspyre { };
|
||||||
git-repo-go = pkgs.git-repo-go;
|
git-repo-go = pkgs.git-repo-go;
|
||||||
hassbridge = pkgs.callPackage ./pkgs/hassbridge { };
|
hassbridge = pkgs.callPackage ./pkgs/hassbridge { };
|
||||||
|
mapshot = pkgs.mapshot;
|
||||||
peakperf = pkgs.callPackage ./pkgs/peakperf { };
|
peakperf = pkgs.callPackage ./pkgs/peakperf { };
|
||||||
tinyows = pkgs.callPackage ./pkgs/tinyows { };
|
tinyows = pkgs.callPackage ./pkgs/tinyows { };
|
||||||
tsui = pkgs.callPackage ./pkgs/tsui { };
|
tsui = pkgs.callPackage ./pkgs/tsui { };
|
||||||
|
|
|
@ -23,6 +23,8 @@ final: prev: {
|
||||||
peakperf = prev.pkgs.callPackage ../pkgs/peakperf {
|
peakperf = prev.pkgs.callPackage ../pkgs/peakperf {
|
||||||
enableCuda = false; # peakperf needs cuda-samples, which is not available in current CUDA. CUDA 11 is broken due to CVEs in freeimage
|
enableCuda = false; # peakperf needs cuda-samples, which is not available in current CUDA. CUDA 11 is broken due to CVEs in freeimage
|
||||||
};
|
};
|
||||||
|
mapshot = prev.pkgs.callPackage ../pkgs/mapshot { };
|
||||||
|
|
||||||
factorio = prev.factorio.override { versionsJson = ./factorio.json; };
|
factorio = prev.factorio.override { versionsJson = ./factorio.json; };
|
||||||
|
|
||||||
python312 = prev.python312.override {
|
python312 = prev.python312.override {
|
||||||
|
|
33
pkgs/mapshot/default.nix
Normal file
33
pkgs/mapshot/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildGoModule,
|
||||||
|
fetchFromGitHub,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "mapshot";
|
||||||
|
version = "0.0.22";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Palats";
|
||||||
|
repo = "mapshot";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-cgNQU9T4xgJbUHI57XjP+UoCLfV+JCm0tvj8xLuI4Qs=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-3bjEoE4angdBs2bVNINZrkeBl68NsWVRjlKTevLrroM=";
|
||||||
|
|
||||||
|
ldflags = [
|
||||||
|
"-s"
|
||||||
|
"-w"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Factorio mod to export maps as zoomable html";
|
||||||
|
homepage = "https://github.com/Palats/mapshot";
|
||||||
|
changelog = "https://github.com/Palats/mapshot/blob/${src.rev}/changelog.txt";
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
maintainers = with lib.maintainers; [ ];
|
||||||
|
mainProgram = "mapshot";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue