xfel: init at 1.3.2 (#170976)

This commit is contained in:
Arne Keller
2025-03-12 00:03:31 +01:00
committed by GitHub
+36
View File
@@ -0,0 +1,36 @@
{
fetchFromGitHub,
lib,
libusb1,
pkg-config,
stdenv,
}:
stdenv.mkDerivation rec {
pname = "xfel";
version = "1.3.2";
src = fetchFromGitHub {
owner = "xboot";
repo = "xfel";
tag = "v${version}";
hash = "sha256-fmf+jqCWC7RaLknr/TyRV6VQz4+fp83ynHNk2ACkyfQ=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libusb1 ];
makeFlags = [
"DESTDIR=$(out)"
"PREFIX=/"
];
meta = {
description = "Tooling for working with the FEL mode on Allwinner SoCs";
homepage = "https://github.com/xboot/xfel";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ felixsinger ];
platforms = lib.platforms.linux;
};
}