fetchTraefikPlugin: init - #436805
Conversation
philiptaron
left a comment
There was a problem hiding this comment.
Requesting changes for using lib.extendMkDerivation instead.
06e2e8f to
fbeb543
Compare
This function takes in the provider, owner and plugin name, and outputs a correctly-formatted derivation with the Traefik plugin, which can be `symlinkJoin`ed in the `/var/lib/traefik/plugins-local` folder. Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
fbeb543 to
eb03b57
Compare
|
Could you give me an example |
https://plugins.traefik.io/plugins/676da7c6eaa878daeef9c7e9/fossorial-badger was the plan. This PR would supersede #436769. Things like crowdsec and geoblock are must-haves too. |
|
No, I mean, can you give me an expression I can test out in |
{
lib,
fetchTraefikPlugin,
}:
fetchTraefikPlugin {
plugin = "badger";
owner = "fosrl";
version = "1.2.0";
hash = "";
meta = {
description = "Traefik plugin that handles authentication for Pangolin resources";
homepage = "https://plugins.traefik.io/plugins/676da7c6eaa878daeef9c7e9/fossorial-badger";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
jackr
sigmasquadron
];
};
} |
Needs to be merged for further testing.
a44583e
into
NixOS:wip-traefik-plugins
|
@philiptaron don't worry! This didn't go to |
This function takes in the provider, owner and plugin name, and outputs a correctly-formatted derivation with the Traefik plugin, which can be
symlinkJoined in the/var/lib/traefik/plugins-localfolder.Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.