mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
orbuculum: init at 2.0.0
This commit is contained in:
parent
5307a8095d
commit
584a628df4
43
pkgs/development/embedded/orbuculum/default.nix
Normal file
43
pkgs/development/embedded/orbuculum/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user