Merge pull request #220148 from shhht/mainsail

authored by

Bernardo Meurer and committed by
GitHub
78963777 1c246cb3

+44
+6
maintainers/maintainer-list.nix
··· 14262 14262 githubId = 251028; 14263 14263 name = "Shell Turner"; 14264 14264 }; 14265 + shhht = { 14266 + name = "shhht"; 14267 + email = "stp.tjeerd@gmail.com"; 14268 + github = "shhht"; 14269 + githubId = 118352823; 14270 + }; 14265 14271 shikanime = { 14266 14272 name = "William Phetsinorath"; 14267 14273 email = "deva.shikanime@protonmail.com";
+36
pkgs/applications/misc/mainsail/default.nix
··· 1 + { lib 2 + , stdenvNoCC 3 + , fetchzip 4 + }: 5 + 6 + stdenvNoCC.mkDerivation rec { 7 + pname = "mainsail"; 8 + version = "2.4.1"; 9 + 10 + src = fetchzip { 11 + url = "https://github.com/mainsail-crew/mainsail/releases/download/v${version}/mainsail.zip"; 12 + sha256 = "sha256-WgTzRVycrZcJ5JVXJQHLvQGg8FLm4y020/eULAqDpmA="; 13 + stripRoot = false; 14 + }; 15 + 16 + dontConfigure = true; 17 + dontBuild = true; 18 + 19 + installPhase = '' 20 + runHook preInstall 21 + 22 + mkdir -p $out/share/mainsail 23 + cp -r ./* $out/share/mainsail 24 + 25 + runHook postInstall 26 + ''; 27 + 28 + meta = with lib; { 29 + description = "Web interface for managing and controlling 3D printers with Klipper"; 30 + homepage = "https://docs.mainsail.xyz"; 31 + changelog = "https://github.com/mainsail-crew/mainsail/releases/tag/v${version}"; 32 + license = licenses.gpl3Plus; 33 + platforms = platforms.linux; 34 + maintainers = with maintainers; [ shhht ]; 35 + }; 36 + }
+2
pkgs/top-level/all-packages.nix
··· 2281 2281 2282 2282 maiko = callPackage ../applications/emulators/maiko { }; 2283 2283 2284 + mainsail = callPackage ../applications/misc/mainsail { }; 2285 + 2284 2286 mame = libsForQt5.callPackage ../applications/emulators/mame { }; 2285 2287 2286 2288 mame-tools = lib.addMetaAttrs {