mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
xpar: init at 0.5
This commit is contained in:
parent
c502d6002a
commit
4b00d53b59
41
pkgs/by-name/xp/xpar/package.nix
Normal file
41
pkgs/by-name/xp/xpar/package.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
autoreconfHook,
|
||||
nasm,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xpar";
|
||||
version = "0.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kspalaiologos";
|
||||
repo = "xpar";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-DMUDWQqYSQjGxYOpcfwNaaM21avcZ1w3IqEhuOaabrw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
] ++ lib.optionals stdenv.hostPlatform.isx86_64 [ nasm ];
|
||||
|
||||
configureFlags =
|
||||
[
|
||||
"--disable-arch-native"
|
||||
"--enable-lto"
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.isx86_64 "--enable-x86-64"
|
||||
++ lib.optional stdenv.hostPlatform.isAarch64 "--enable-aarch64";
|
||||
|
||||
meta = {
|
||||
description = "Error/erasure code system guarding data integrity";
|
||||
homepage = "https://github.com/kspalaiologos/xpar";
|
||||
changelog = "https://github.com/kspalaiologos/xpar/blob/${finalAttrs.version}/NEWS";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ mrbenjadmin ];
|
||||
platforms = lib.platforms.all;
|
||||
mainProgram = "xpar";
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user