Compare commits

...

2 commits

8 changed files with 35 additions and 89 deletions

View file

@ -1,44 +0,0 @@
{
"crowdsec-firewall-bouncer": {
"cargoLocks": null,
"date": null,
"extract": null,
"name": "crowdsec-firewall-bouncer",
"passthru": null,
"pinned": false,
"src": {
"deepClone": false,
"fetchSubmodules": false,
"leaveDotGit": false,
"name": null,
"owner": "crowdsecurity",
"repo": "cs-firewall-bouncer",
"rev": "v0.0.34",
"sha256": "sha256-lDO9pwPkbI+FDTdXBv03c0p8wbkRUiIDNl1ip3AZo2g=",
"sparseCheckout": [],
"type": "github"
},
"version": "v0.0.34"
},
"crowdsec-hub": {
"cargoLocks": null,
"date": "2025-08-17",
"extract": null,
"name": "crowdsec-hub",
"passthru": null,
"pinned": false,
"src": {
"deepClone": false,
"fetchSubmodules": false,
"leaveDotGit": false,
"name": null,
"owner": "crowdsecurity",
"repo": "hub",
"rev": "fc59f78180f3edfce76df3e77b001c454f567d3d",
"sha256": "sha256-Ejx3ta05SMvV/Dj7wy2iF9QYbGoRvxPB3+QuCIoTX4Q=",
"sparseCheckout": [],
"type": "github"
},
"version": "fc59f78180f3edfce76df3e77b001c454f567d3d"
}
}

View file

@ -1,27 +0,0 @@
# This file was generated by nvfetcher, please do not modify it manually.
{ fetchgit, fetchurl, fetchFromGitHub, dockerTools }:
{
crowdsec-firewall-bouncer = {
pname = "crowdsec-firewall-bouncer";
version = "v0.0.34";
src = fetchFromGitHub {
owner = "crowdsecurity";
repo = "cs-firewall-bouncer";
rev = "v0.0.34";
fetchSubmodules = false;
sha256 = "sha256-lDO9pwPkbI+FDTdXBv03c0p8wbkRUiIDNl1ip3AZo2g=";
};
};
crowdsec-hub = {
pname = "crowdsec-hub";
version = "fc59f78180f3edfce76df3e77b001c454f567d3d";
src = fetchFromGitHub {
owner = "crowdsecurity";
repo = "hub";
rev = "fc59f78180f3edfce76df3e77b001c454f567d3d";
fetchSubmodules = false;
sha256 = "sha256-Ejx3ta05SMvV/Dj7wy2iF9QYbGoRvxPB3+QuCIoTX4Q=";
};
date = "2025-08-17";
};
}

View file

@ -1,6 +1,6 @@
{ {
lib, lib,
sources, fetchFromGitHub,
buildGoModule, buildGoModule,
envsubst, envsubst,
coreutils, coreutils,
@ -8,8 +8,16 @@
let let
envsubstBin = lib.getExe envsubst; envsubstBin = lib.getExe envsubst;
in in
buildGoModule { buildGoModule (drv: {
inherit (sources.crowdsec-firewall-bouncer) pname version src; pname = "crowdsec-firewall-bouncer";
version = "0.0.34";
src = fetchFromGitHub {
owner = "crowdsecurity";
repo = "cs-firewall-bouncer";
rev = drv.version;
hash = "sha256-lDO9pwPkbI+FDTdXBv03c0p8wbkRUiIDNl1ip3AZo2g=";
};
vendorHash = "sha256-SbpclloBgd9vffC0lBduGRqPOqmzQ0J91/KeDHCh0jo="; vendorHash = "sha256-SbpclloBgd9vffC0lBduGRqPOqmzQ0J91/KeDHCh0jo=";
@ -23,4 +31,4 @@ buildGoModule {
substituteInPlace $out/lib/systemd/system/crowdsec-firewall-bouncer.service \ substituteInPlace $out/lib/systemd/system/crowdsec-firewall-bouncer.service \
--replace-fail /bin/sleep ${coreutils}/bin/sleep --replace-fail /bin/sleep ${coreutils}/bin/sleep
''; '';
} })

View file

@ -1 +1,17 @@
{ sources }: sources.crowdsec-hub.src { fetchFromGitHub, stdenvNoCC }:
# Using `mkDerivation` so nix-update can pick up the version
stdenvNoCC.mkDerivation (drv: {
pname = "crowdsec-hub";
version = drv.src.rev;
src = fetchFromGitHub {
owner = "crowdsecurity";
repo = "hub";
rev = "fc59f78180f3edfce76df3e77b001c454f567d3d";
hash = "sha256-Ejx3ta05SMvV/Dj7wy2iF9QYbGoRvxPB3+QuCIoTX4Q=";
};
installPhase = ''
cp -r $src $out
'';
})

View file

@ -1,7 +0,0 @@
[crowdsec-hub]
src.git = "https://github.com/crowdsecurity/hub.git"
fetch.github = "crowdsecurity/hub"
[crowdsec-firewall-bouncer]
src.github = "crowdsecurity/cs-firewall-bouncer"
fetch.github = "crowdsecurity/cs-firewall-bouncer"

View file

@ -573,7 +573,7 @@ metafile = true
[[files]] [[files]]
file = "mods/open-parties-and-claims.pw.toml" file = "mods/open-parties-and-claims.pw.toml"
hash = "db49860c8895c4259982514b2c32f3ce206f8f9dd5ef7e96a40f7f3522673691" hash = "28d546c3ea37927bd45975200aa74c1e8fb8bd82d2a29e611abe577389818702"
metafile = true metafile = true
[[files]] [[files]]

View file

@ -1,13 +1,13 @@
name = "Open Parties and Claims" name = "Open Parties and Claims"
filename = "open-parties-and-claims-neoforge-1.21.1-0.25.1.jar" filename = "open-parties-and-claims-neoforge-1.21.1-0.25.4.jar"
side = "both" side = "both"
[download] [download]
url = "https://cdn.modrinth.com/data/gF3BGWvG/versions/878uXsIw/open-parties-and-claims-neoforge-1.21.1-0.25.1.jar" url = "https://cdn.modrinth.com/data/gF3BGWvG/versions/a49p7KOL/open-parties-and-claims-neoforge-1.21.1-0.25.4.jar"
hash-format = "sha512" hash-format = "sha512"
hash = "d32dde39f2bf65787d01d1654d353de54986310f9dee7b091da63c21870d8a0f6c1275cd96b3c9863e84cc7a9e404419ff16b8e6ff047c18f7cb47c491db220d" hash = "46ce717e8298366a6616568e5ceadf6ab16a6128d5637143c12786a841dd000aafcb170b67e9f4af6ae71c3cd79a0295645093d0af5c5a47ca129d5dcfaf4310"
[update] [update]
[update.modrinth] [update.modrinth]
mod-id = "gF3BGWvG" mod-id = "gF3BGWvG"
version = "878uXsIw" version = "a49p7KOL"

View file

@ -5,7 +5,7 @@ pack-format = "packwiz:1.1.0"
[index] [index]
file = "index.toml" file = "index.toml"
hash-format = "sha256" hash-format = "sha256"
hash = "eff04d9ba259bf1fc333cfe14d4607f4043d0fb878763fea6bbc4a5db09c10ae" hash = "a35901970241b054b4f6c1bab49f62728506f2be2cdd60ef0c26b2f9db672d6f"
[versions] [versions]
minecraft = "1.21.1" minecraft = "1.21.1"