Skip to content

Commit c7520d0

Browse files
xfel: init at 1.3.2 (#170976)
2 parents 9058a14 + a1f1c99 commit c7520d0

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

pkgs/by-name/xf/xfel/package.nix

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
fetchFromGitHub,
3+
lib,
4+
libusb1,
5+
pkg-config,
6+
stdenv,
7+
}:
8+
9+
stdenv.mkDerivation rec {
10+
pname = "xfel";
11+
version = "1.3.2";
12+
13+
src = fetchFromGitHub {
14+
owner = "xboot";
15+
repo = "xfel";
16+
tag = "v${version}";
17+
hash = "sha256-fmf+jqCWC7RaLknr/TyRV6VQz4+fp83ynHNk2ACkyfQ=";
18+
};
19+
20+
nativeBuildInputs = [ pkg-config ];
21+
22+
buildInputs = [ libusb1 ];
23+
24+
makeFlags = [
25+
"DESTDIR=$(out)"
26+
"PREFIX=/"
27+
];
28+
29+
meta = {
30+
description = "Tooling for working with the FEL mode on Allwinner SoCs";
31+
homepage = "https://github.com/xboot/xfel";
32+
license = lib.licenses.mit;
33+
maintainers = with lib.maintainers; [ felixsinger ];
34+
platforms = lib.platforms.linux;
35+
};
36+
}

0 commit comments

Comments
 (0)