dwef
This commit is contained in:
parent
768196e2bb
commit
2936f9b197
29 changed files with 496 additions and 82 deletions
|
@ -1,2 +1,4 @@
|
|||
{ pkgs ? (import ../nixpkgs.nix) { }, ... }: rec {
|
||||
transmission-exporter = import ./transmission-exporter.nix { inherit pkgs; };
|
||||
plex-exporter = import ./plex-exporter.nix { inherit pkgs; };
|
||||
}
|
||||
|
|
13
pkgs/plex-exporter.nix
Normal file
13
pkgs/plex-exporter.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ pkgs, ... }: pkgs.buildGoModule {
|
||||
pname = "plex_exporter";
|
||||
version = "0132160fcf2f41f25a5e18e78392eb324e932c5f";
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "arnarg";
|
||||
repo = "plex_exporter";
|
||||
rev = "0132160fcf2f41f25a5e18e78392eb324e932c5f";
|
||||
sha256 = "sha256-Jg/sQnAVplgag4Mv12pCbSO3v4GwcUUHvEUbF9m2R+Q=";
|
||||
};
|
||||
}
|
13
pkgs/transmission-exporter.nix
Normal file
13
pkgs/transmission-exporter.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ pkgs, ... }: pkgs.buildGoModule {
|
||||
pname = "transmission-exporter";
|
||||
version = "a7872aa2975c7a95af680c51198f4a363e226c8f";
|
||||
|
||||
vendorHash = "sha256-YhmfrM5iAK0zWcUM7LmbgFnH+k2M/tE+f/QQIQmQlZs=";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "metalmatze";
|
||||
repo = "transmission-exporter";
|
||||
rev = "a7872aa2975c7a95af680c51198f4a363e226c8f";
|
||||
sha256 = "sha256-Ky7eCvC1AqHheqGGOGBNKbtVgg4Y8hDG67gCVlpUwZo=";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue