mirror of
https://github.com/blackmagic-debug/blackmagic.git
synced 2025-10-14 02:58:36 +08:00
30 lines
545 B
Nix
30 lines
545 B
Nix
{
|
|
pkgs ? import (fetchGit {
|
|
name = "nixos-25.05";
|
|
url = "https://github.com/nixos/nixpkgs/";
|
|
ref = "refs/heads/nixos-25.05";
|
|
# `git ls-remote https://github.com/nixos/nixpkgs nixos-21.11`
|
|
rev = "ce01daebf8489ba97bd1609d185ea276efdeb121";
|
|
}) {}
|
|
}:
|
|
|
|
with pkgs;
|
|
mkShell {
|
|
buildInputs = [
|
|
gnumake
|
|
gcc-arm-embedded
|
|
dfu-util
|
|
|
|
blackmagic
|
|
pkg-config
|
|
libftdi1
|
|
libusb-compat-0_1
|
|
hidapi
|
|
|
|
(python3.withPackages (python-packages: with python-packages; [
|
|
pyusb
|
|
pyserial
|
|
]))
|
|
];
|
|
}
|