File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments