17 stdenv.mkDerivation (finalAttrs: {
21 src = fetchFromGitHub {
22 owner = "jcorporation";
24 rev = "v${finalAttrs.version}";
25 sha256 = "sha256-CMqH9iy9U85bKj7YLcYsKFs5CDePGBEfUWL+sb7WzBw=";
36 env MYMPD_BUILDDIR=$PWD/build ./build.sh createassets
48 # Otherwise, it tries to parse $out/etc/mympd.conf on startup.
49 "-DCMAKE_INSTALL_SYSCONFDIR=/etc"
51 "-DCMAKE_INSTALL_LOCALSTATEDIR=/var/lib/mympd"
54 # causes redefinition of _FORTIFY_SOURCE
57 # 5 tests out of 23 fail, probably due to the sandbox...
61 homepage = "https://jcorporation.github.io/myMPD";
62 description = "A standalone and mobile friendly web mpd client with a tiny footprint and advanced features";
63 maintainers = [ lib.maintainers.doronbehar ];
64 platforms = lib.platforms.linux;
65 license = lib.licenses.gpl2Plus;
66 mainProgram = "mympd";