1 { lib, stdenv, fetchurl, jre }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/subsonic/subsonic-${version}-standalone.tar.gz";
9 sha256 = "180qdk8mnc147az8v9rmc1kgf8b13mmq88l195gjdwiqpflqzdyz";
14 # Create temporary directory to extract tarball into to satisfy Nix's need
15 # for a directory to be created in the unpack phase.
18 mkdir ${pname}-${version}
19 tar -C ${pname}-${version} -xzf $src
25 cp -r ${pname}-${version}/* $out
30 homepage = "http://subsonic.org";
31 description = "Personal media streamer";
32 license = licenses.unfree;
33 maintainers = with maintainers; [ telotortium ];
34 platforms = platforms.unix;