orbuculum: init at 2.0.0

This commit is contained in:
Alex Martens 2022-08-18 17:42:09 -07:00
parent 5307a8095d
commit 584a628df4
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,43 @@
{ lib
, stdenv
, fetchFromGitHub
, czmq
, libusb1
, ncurses
}:
stdenv.mkDerivation rec {
pname = "orbuculum";
version = "2.0.0";
src = fetchFromGitHub {
owner = "orbcode";
repo = pname;
rev = "V${version}";
sha256 = "sha256-aMMXfrBQQ9oOx17MUKmqe5vdTpxhBGM5mVfAel0y0a0=";
};
buildInputs = [
czmq
libusb1
ncurses
];
installFlags = [
"INSTALL_ROOT=$(out)/"
];
postInstall = ''
mkdir -p $out/etc/udev/rules.d/
cp $src/Support/60-orbcode.rules $out/etc/udev/rules.d/
'';
meta = with lib; {
description = "Cortex M SWO SWV Demux and Postprocess for the ORBTrace";
homepage = "https://orbcode.org";
changelog = "https://github.com/orbcode/orbuculum/blob/V${version}/CHANGES.md";
license = licenses.bsd3;
maintainers = with maintainers; [ newam ];
platforms = platforms.linux;
};
}

View File

@ -25692,6 +25692,8 @@ with pkgs;
orbitron = callPackage ../data/fonts/orbitron { };
orbuculum = callPackage ../development/embedded/orbuculum { };
orchis-theme = callPackage ../data/themes/orchis-theme { };
orion = callPackage ../data/themes/orion {};