Skip to content

Instantly share code, notes, and snippets.

@ToxicFrog
Created March 16, 2020 12:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ToxicFrog/5586c20eb5d0fee1d2961f868d980b97 to your computer and use it in GitHub Desktop.
Save ToxicFrog/5586c20eb5d0fee1d2961f868d980b97 to your computer and use it in GitHub Desktop.
# This file has been generated by mavenix-2.3.2. Configure the build here!
let
mavenix-src = fetchTarball {
url = "https://github.com/icetan/mavenix/tarball/v2.3.3";
sha256 = "1l653ac3ka4apm7s4qrbm4kx7ij7n2zk3b67p9l0nki8vxxi8jv7";
};
in {
pkgs ? (import mavenix-src {}).pkgs,
mavenix ? import mavenix-src { inherit pkgs; },
doCheck ? false,
}: mavenix.buildMaven rec {
inherit doCheck;
infoFile = ./mavenix.lock;
src = fetchGit { url = git://github.com/airsonic/airsonic.git; ref = "release-10.5"; };
remotes = { local1 = "file://${src}/repo"; };
patches = [ ./0001-sort-podcasts-in-ascending-order.patch ];
MAVEN_OPTS = "-Ddependency-check.skip=true";
# Backwards compatibility with previous Airsonic package.
postInstall = ''
cd "$out"
ln -s share/java/ webapps
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment