12 stdenv.mkDerivation rec {
20 ] ++ lib.optional enablePython "py";
22 src = fetchFromGitHub {
23 owner = "libimobiledevice";
26 hash = "sha256-hitRcOjbF+L9Og9/qajqFqOhKfRn9+iWLoCKmS9dT80=";
34 buildInputs = lib.optionals enablePython [
40 export RELEASE_VERSION=${version}
47 ++ lib.optionals (!enablePython) [
53 postFixup = lib.optionalString enablePython ''
54 moveToOutput "lib/${python3.libPrefix}" "$py"
58 description = "Library to handle Apple Property List format in binary or XML";
59 homepage = "https://github.com/libimobiledevice/libplist";
60 license = licenses.lgpl21Plus;
62 platforms = platforms.unix;
63 mainProgram = "plistutil";