Something went wrong. Try again.
a simple but full-featured web player for OpenSubsonic music servers (Navidrome, Gonic, Ampache, etc) devins.page/tinysub
svelte typescript javascript subsonic gonic navidrome
Something went wrong. Try again.
tinysub flake.nix
928 B · 41 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142{ description = "High-performance web player for OpenSubsonic-compatible servers";
inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; flake-utils.url = "github:numtide/flake-utils"; };
outputs = { nixpkgs, flake-utils, self, }: flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs {inherit system;}; in { packages.default = pkgs.buildNpmPackage { pname = "tinysub"; version = "2.59.3";
src = ./.; npmDepsHash = "sha256-IjB+kS2dsh1AaIfxeIyEtZccJxomNHWhIUGEhYAqGfo="; npmBuildScript = "build";
installPhase = '' runHook preInstall mkdir -p $out cp -r dist/* $out/ runHook postInstall ''; };
devShells.default = pkgs.mkShellNoCC { packages = [ pkgs.nodejs ]; };
formatter = pkgs.alejandra; });}