diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2017-08-25 23:19:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-25 23:19:49 +0100 |
commit | e861a26b825dbc5807b6e7e7129e2d5107446ab7 (patch) | |
tree | 8698d5e1d8897a53b386b49d926a108fb65f4142 /pkgs/servers | |
parent | 89e542d824a9b34dda28c02a522b5dfcd3f544ea (diff) | |
parent | 7b982fcb091a610e23647d6f47ceae3bfca9d402 (diff) | |
download | nixlib-e861a26b825dbc5807b6e7e7129e2d5107446ab7.tar nixlib-e861a26b825dbc5807b6e7e7129e2d5107446ab7.tar.gz nixlib-e861a26b825dbc5807b6e7e7129e2d5107446ab7.tar.bz2 nixlib-e861a26b825dbc5807b6e7e7129e2d5107446ab7.tar.lz nixlib-e861a26b825dbc5807b6e7e7129e2d5107446ab7.tar.xz nixlib-e861a26b825dbc5807b6e7e7129e2d5107446ab7.tar.zst nixlib-e861a26b825dbc5807b6e7e7129e2d5107446ab7.zip |
Merge pull request #28476 from disassembler/airsonic
airsonic: init at 10.0.0
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/misc/airsonic/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/servers/misc/airsonic/default.nix b/pkgs/servers/misc/airsonic/default.nix new file mode 100644 index 000000000000..57040f469479 --- /dev/null +++ b/pkgs/servers/misc/airsonic/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "airsonic-${version}"; + version = "10.0.1"; + + src = fetchurl { + url = "https://github.com/airsonic/airsonic/releases/download/v${version}/airsonic.war"; + sha256 = "1qky8dz49200f6100ivkn5g7i0hzkv3gpq2r0cj6z53s8d1ayblc"; + }; + + buildCommand = '' + mkdir -p "$out/webapps" + cp "$src" "$out/webapps/airsonic.war" + ''; + + meta = with stdenv.lib; { + description = "Personal media streamer"; + homepage = https://airsonic.github.io; + license = stdenv.lib.licenses.gpl3; + platforms = platforms.all; + maintainers = with maintainers; [ disassembler ]; + }; +} |