tautulli: refactor and move to pkgs/by-name

this shouldn't create any rebuilds
This commit is contained in:
quantenzitrone
2026-02-02 03:53:52 +01:00
parent 9625797417
commit d93d34d009
2 changed files with 7 additions and 11 deletions
@@ -1,27 +1,25 @@
{
lib,
fetchFromGitHub,
buildPythonApplication,
setuptools,
wrapPython,
python3Packages,
makeWrapper,
}:
buildPythonApplication rec {
python3Packages.buildPythonApplication (finalAttrs: {
pname = "Tautulli";
version = "2.16.1";
pyproject = false;
pythonPath = [ setuptools ];
pythonPath = [ python3Packages.setuptools ];
nativeBuildInputs = [
wrapPython
python3Packages.wrapPython
makeWrapper
];
src = fetchFromGitHub {
owner = "Tautulli";
repo = "Tautulli";
tag = "v${version}";
tag = "v${finalAttrs.version}";
sha256 = "sha256-Zct7EhnU5LROO23Joz6OxQTtC9uGZhtceSG+aX6MI2c=";
};
@@ -32,7 +30,7 @@ buildPythonApplication rec {
cp -R contrib data lib plexpy Tautulli.py CHANGELOG.md $out/libexec/tautulli
echo "master" > $out/libexec/tautulli/branch.txt
echo "v${version}" > $out/libexec/tautulli/version.txt
echo "v${finalAttrs.version}" > $out/libexec/tautulli/version.txt
# Can't just symlink to the main script, since it uses __file__ to
# import bundled packages and manage the service
@@ -60,4 +58,4 @@ buildPythonApplication rec {
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ rhoriguchi ];
};
}
})
-2
View File
@@ -3289,8 +3289,6 @@ with pkgs;
tabview = with python3Packages; toPythonApplication tabview;
tautulli = python3Packages.callPackage ../servers/tautulli { };
inherit (callPackage ../development/tools/pnpm { })
pnpm_8
pnpm_9