mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
chore: nf-fmt-nix
This commit is contained in:
parent
c2726dd41b
commit
ffde3c1c27
14 changed files with 170 additions and 131 deletions
|
|
@ -6,7 +6,8 @@
|
|||
# https://github.com/minecraft-linux/server-modloader/tree/master?tab=readme-ov-file#getting-mods-to-work-on-newer-versions-116
|
||||
inherit (lib.meta) getExe;
|
||||
python = python3.withPackages (p: [p.lief]);
|
||||
static_symbols = if lib.versionAtLeast python3.pkgs.lief.version "0.15.0"
|
||||
static_symbols =
|
||||
if lib.versionAtLeast python3.pkgs.lief.version "0.15.0"
|
||||
then "symtab_symbols"
|
||||
else "static_symbols";
|
||||
script = ''
|
||||
|
|
|
|||
|
|
@ -1,28 +1,30 @@
|
|||
{ buildPlugin
|
||||
, python3Packages
|
||||
, fetchFromGitHub
|
||||
{
|
||||
buildPlugin,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
}: let
|
||||
pname = "OctoPrint-Octorant";
|
||||
version = "1.3.4";
|
||||
in buildPlugin {
|
||||
inherit pname version;
|
||||
in
|
||||
buildPlugin {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bchanudet";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-gP79zlJ8gdtpddXOJIMhouSbwXnrSf+c1bURkN/7jvw=";
|
||||
};
|
||||
src = fetchFromGitHub {
|
||||
owner = "bchanudet";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-gP79zlJ8gdtpddXOJIMhouSbwXnrSf+c1bURkN/7jvw=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./octorant-timelapse-uri.patch
|
||||
];
|
||||
patches = [
|
||||
./octorant-timelapse-uri.patch
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
pillow
|
||||
];
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
pillow
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/bchanudet/OctoPrint-Octorant";
|
||||
};
|
||||
}
|
||||
meta = {
|
||||
homepage = "https://github.com/bchanudet/OctoPrint-Octorant";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,28 +1,30 @@
|
|||
{ buildPlugin
|
||||
, python3Packages
|
||||
, fetchFromGitHub
|
||||
{
|
||||
buildPlugin,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
}: let
|
||||
version = "0.2.3";
|
||||
in buildPlugin {
|
||||
pname = "OctoPrint-Prometheus-Exporter";
|
||||
inherit version;
|
||||
in
|
||||
buildPlugin {
|
||||
pname = "OctoPrint-Prometheus-Exporter";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tg44";
|
||||
repo = "OctoPrint-Prometheus-Exporter";
|
||||
rev = version;
|
||||
sha256 = "sha256-pw5JKMWQNAkFkUADR2ue6R4FOmFIeapw2k5FLqJ6NQg=";
|
||||
};
|
||||
src = fetchFromGitHub {
|
||||
owner = "tg44";
|
||||
repo = "OctoPrint-Prometheus-Exporter";
|
||||
rev = version;
|
||||
sha256 = "sha256-pw5JKMWQNAkFkUADR2ue6R4FOmFIeapw2k5FLqJ6NQg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
prometheus-client
|
||||
];
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
prometheus-client
|
||||
];
|
||||
|
||||
patches = [
|
||||
./prometheus-exporter-deregister.patch
|
||||
];
|
||||
patches = [
|
||||
./prometheus-exporter-deregister.patch
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/tg44/OctoPrint-Prometheus-Exporter";
|
||||
};
|
||||
}
|
||||
meta = {
|
||||
homepage = "https://github.com/tg44/OctoPrint-Prometheus-Exporter";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,23 +1,25 @@
|
|||
{ buildPlugin
|
||||
, python3Packages
|
||||
, fetchFromGitHub
|
||||
{
|
||||
buildPlugin,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
}: let
|
||||
version = "2.0.0";
|
||||
pname = "OctoPrint-Queue";
|
||||
in buildPlugin {
|
||||
inherit pname version;
|
||||
in
|
||||
buildPlugin {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chennes";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-uAG6GrUKXUdUTtzmjKWPiHxMa3ekvoLpSIvFMiJI+/8=";
|
||||
};
|
||||
src = fetchFromGitHub {
|
||||
owner = "chennes";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-uAG6GrUKXUdUTtzmjKWPiHxMa3ekvoLpSIvFMiJI+/8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
];
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/chennes/OctoPrint-Queue";
|
||||
};
|
||||
}
|
||||
meta = {
|
||||
homepage = "https://github.com/chennes/OctoPrint-Queue";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue