libetonyek: enable strictDeps / parallel building, clean up

+11 -7
+11 -7
pkgs/by-name/li/libetonyek/package.nix
··· 15 15 zlib, 16 16 }: 17 17 18 - stdenv.mkDerivation rec { 18 + stdenv.mkDerivation (finalAttrs: { 19 19 pname = "libetonyek"; 20 20 version = "0.1.12"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "LibreOffice"; 24 24 repo = "libetonyek"; 25 - rev = "libetonyek-${version}"; 25 + rev = "libetonyek-${finalAttrs.version}"; 26 26 hash = "sha256-dvYbV+7IakgOkGsZ+zaW+qgn/QoD6Jwq/juaE+7iYug="; 27 27 }; 28 28 ··· 45 45 46 46 configureFlags = [ "--with-mdds=2.1" ]; 47 47 48 - meta = with lib; { 48 + strictDeps = true; 49 + 50 + enableParallelBuilding = true; 51 + 52 + meta = { 49 53 description = "Library and a set of tools for reading and converting Apple iWork documents (Keynote, Pages and Numbers)"; 50 54 homepage = "https://github.com/LibreOffice/libetonyek"; 51 - changelog = "https://github.com/LibreOffice/libetonyek/blob/${src.rev}/NEWS"; 52 - license = licenses.mpl20; 55 + changelog = "https://github.com/LibreOffice/libetonyek/blob/${finalAttrs.src.rev}/NEWS"; 56 + license = lib.licenses.mpl20; 53 57 maintainers = [ ]; 54 - platforms = platforms.all; 58 + platforms = lib.platforms.all; 55 59 }; 56 - } 60 + })