Refactor flake patching/recursion
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{ pkgs, ... }:
|
||||
# AUTO-UPDATE: nix-update --flake jellyfin-plugin-tvdb
|
||||
pkgs.stdenv.mkDerivation rec {
|
||||
pkgs.stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "tvdb";
|
||||
version = "19";
|
||||
|
||||
src = pkgs.fetchzip {
|
||||
url = "https://github.com/jellyfin/jellyfin-plugin-tvdb/releases/download/v${version}/thetvdb_${version}.0.0.0.zip";
|
||||
url = "https://github.com/jellyfin/jellyfin-plugin-tvdb/releases/download/v${finalAttrs.version}/thetvdb_${finalAttrs.version}.0.0.0.zip";
|
||||
sha256 = "sha256-011wpVwQy562XDAwAQ44GJTbu/ESHcyo5F/wrtNBAcs=";
|
||||
stripRoot = false;
|
||||
};
|
||||
@@ -13,4 +13,4 @@ pkgs.stdenv.mkDerivation rec {
|
||||
installPhase = ''
|
||||
cp -r $src $out
|
||||
'';
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user