1 { lib, stdenv, fetchurl, nixosTests }:
3 stdenv.mkDerivation rec {
8 url = "https://github.com/airsonic/airsonic/releases/download/v${version}/airsonic.war";
9 sha256 = "0q3qnqymj3gaa6n79pvbyidn1ga99lpngp5wvhlw1aarg1m7vccl";
13 mkdir -p "$out/webapps"
14 cp "$src" "$out/webapps/airsonic.war"
18 airsonic-starts = nixosTests.airsonic;
22 description = "Personal media streamer";
23 homepage = "https://airsonic.github.io";
24 sourceProvenance = with sourceTypes; [ binaryBytecode ];
25 license = lib.licenses.gpl3;
26 platforms = platforms.all;
27 maintainers = with maintainers; [ disassembler ];