18 stdenv.mkDerivation (finalAttrs: {
22 src = fetchFromGitHub {
23 owner = "jcorporation";
25 rev = "v${finalAttrs.version}";
26 sha256 = "sha256-4BGW7jDeqwhbAi1LODeiFrmBIzv0qAMKT3IVRgYn87E=";
37 env MYMPD_BUILDDIR=$PWD/build ./build.sh createassets
49 # Otherwise, it tries to parse $out/etc/mympd.conf on startup.
50 "-DCMAKE_INSTALL_SYSCONFDIR=/etc"
52 "-DCMAKE_INSTALL_LOCALSTATEDIR=/var/lib/mympd"
55 # causes redefinition of _FORTIFY_SOURCE
58 # 5 tests out of 23 fail, probably due to the sandbox...
61 passthru.tests = { inherit (nixosTests) mympd; };
64 homepage = "https://jcorporation.github.io/myMPD";
65 description = "Standalone and mobile friendly web mpd client with a tiny footprint and advanced features";
66 maintainers = [ lib.maintainers.doronbehar ];
67 platforms = lib.platforms.linux;
68 license = lib.licenses.gpl2Plus;
69 mainProgram = "mympd";