8 stdenv.mkDerivation rec {
12 src = fetchFromGitLab {
13 owner = "DavidGriffith";
16 hash = "sha256-suMGR1vgM2tXsPHInZ6HEDKhDSPlC1ss+wCgbION/rE=";
19 nativeBuildInputs = [ pkg-config ];
20 buildInputs = [ libusb1 ];
24 "UDEV_DIR=$(out)/lib/udev"
25 "COMPLETIONS_DIR=$(out)/share/bash-completion/completions"
26 "PKG_CONFIG=${pkg-config}/bin/${pkg-config.targetPrefix}pkg-config"
27 "CC=${stdenv.cc.targetPrefix}cc"
32 homepage = "https://gitlab.com/DavidGriffith/minipro";
33 description = "Open source program for controlling the MiniPRO TL866xx series of chip programmers";
34 license = licenses.gpl3Plus;
35 maintainers = [ maintainers.bmwalters ];
36 mainProgram = "minipro";
37 platforms = platforms.unix;