plexamp: migrate to by-name

This commit is contained in:
Nikolay Korotkiy
2025-10-11 19:16:29 +04:00
parent 780c562192
commit d9cbf28ebd
3 changed files with 4 additions and 6 deletions
@@ -11,8 +11,8 @@ cleanup() {
trap cleanup EXIT
ROOT="$(dirname "$(readlink -f "$0")")"
if [ ! -f "$ROOT/default.nix" ]; then
echo "ERROR: cannot find default.nix in $ROOT"
if [ ! -f "$ROOT/package.nix" ]; then
echo "ERROR: cannot find package.nix in $ROOT"
exit 1
fi
@@ -30,8 +30,8 @@ curl "$VERSION_URL" -o "$VERSION_FILE"
VERSION="$(yq -r .version "$VERSION_FILE")"
SHA512="$(yq -r .sha512 "$VERSION_FILE")"
DEFAULT_NIX="$ROOT/default.nix"
WORKING_NIX="$TMPDIR/default.nix"
DEFAULT_NIX="$ROOT/package.nix"
WORKING_NIX="$TMPDIR/package.nix"
cp "$DEFAULT_NIX" "$WORKING_NIX"
sed -i "s@version = .*;@version = \"$VERSION\";@g" "$WORKING_NIX"
-2
View File
@@ -12225,8 +12225,6 @@ with pkgs;
pineapple-pictures = qt6Packages.callPackage ../applications/graphics/pineapple-pictures { };
plexamp = callPackage ../applications/audio/plexamp { };
plex-mpv-shim = python3Packages.callPackage ../applications/video/plex-mpv-shim { };
plover = recurseIntoAttrs (libsForQt5.callPackage ../applications/misc/plover { });