xfel: init at 1.3.2

Signed-off-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:
Felix Singer
2025-03-11 20:30:17 +01:00
parent 722def21a2
commit a1f1c99444
+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;
};
}