Merge pull request #220148 from shhht/mainsail
This commit is contained in:
commit
78963777a4
@ -14262,6 +14262,12 @@
|
||||
githubId = 251028;
|
||||
name = "Shell Turner";
|
||||
};
|
||||
shhht = {
|
||||
name = "shhht";
|
||||
email = "stp.tjeerd@gmail.com";
|
||||
github = "shhht";
|
||||
githubId = 118352823;
|
||||
};
|
||||
shikanime = {
|
||||
name = "William Phetsinorath";
|
||||
email = "deva.shikanime@protonmail.com";
|
||||
|
36
pkgs/applications/misc/mainsail/default.nix
Normal file
36
pkgs/applications/misc/mainsail/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchzip
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "mainsail";
|
||||
version = "2.4.1";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/mainsail-crew/mainsail/releases/download/v${version}/mainsail.zip";
|
||||
sha256 = "sha256-WgTzRVycrZcJ5JVXJQHLvQGg8FLm4y020/eULAqDpmA=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/mainsail
|
||||
cp -r ./* $out/share/mainsail
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Web interface for managing and controlling 3D printers with Klipper";
|
||||
homepage = "https://docs.mainsail.xyz";
|
||||
changelog = "https://github.com/mainsail-crew/mainsail/releases/tag/v${version}";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ shhht ];
|
||||
};
|
||||
}
|
@ -2281,6 +2281,8 @@ with pkgs;
|
||||
|
||||
maiko = callPackage ../applications/emulators/maiko { };
|
||||
|
||||
mainsail = callPackage ../applications/misc/mainsail { };
|
||||
|
||||
mame = libsForQt5.callPackage ../applications/emulators/mame { };
|
||||
|
||||
mame-tools = lib.addMetaAttrs {
|
||||
|
Loading…
Reference in New Issue
Block a user