9 stdenv.mkDerivation (finalAttrs: {
13 src = fetchFromGitHub {
14 owner = "kspalaiologos";
16 rev = finalAttrs.version;
17 hash = "sha256-DMUDWQqYSQjGxYOpcfwNaaM21avcZ1w3IqEhuOaabrw=";
22 ] ++ lib.optionals stdenv.hostPlatform.isx86_64 [ nasm ];
26 "--disable-arch-native"
29 ++ lib.optional stdenv.hostPlatform.isx86_64 "--enable-x86-64"
30 ++ lib.optional stdenv.hostPlatform.isAarch64 "--enable-aarch64";
33 description = "Error/erasure code system guarding data integrity";
34 homepage = "https://github.com/kspalaiologos/xpar";
35 changelog = "https://github.com/kspalaiologos/xpar/blob/${finalAttrs.version}/NEWS";
36 license = lib.licenses.gpl3Plus;
37 maintainers = with lib.maintainers; [ mrbenjadmin ];
38 platforms = lib.platforms.all;