blackmagic: add libusb, pkgconfig. expose pc-* (hosted) targets

Add myself to maintainers and change meta.platforms to platforms.linux
due to build failures on Darwin.
This commit is contained in:
Richard Marko
2020-02-20 11:07:17 +01:00
parent bb73acd27f
commit 87057d9bdc
2 changed files with 18 additions and 6 deletions
@@ -1,5 +1,5 @@
{ stdenv, lib, fetchFromGitHub
, gcc-arm-embedded, libftdi1
, gcc-arm-embedded, libftdi1, libusb, pkgconfig
, python, pythonPackages
}:
@@ -20,11 +20,12 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
gcc-arm-embedded
gcc-arm-embedded pkgconfig
];
buildInputs = [
libftdi1
libusb
python
pythonPackages.intelhex
];
@@ -60,7 +61,9 @@ stdenv.mkDerivation rec {
'';
homepage = https://github.com/blacksphere/blackmagic;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ pjones emily ];
platforms = platforms.unix;
maintainers = with maintainers; [ pjones emily sorki ];
# fails on darwin with
# arm-none-eabi-gcc: error: unrecognized command line option '-iframework'
platforms = platforms.linux;
};
}