mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-01-18 17:11:39 +01:00
enabled x32edit and java
This commit is contained in:
parent
9040932b20
commit
40d7f3a05c
3 changed files with 50 additions and 3 deletions
|
@ -30,9 +30,7 @@
|
||||||
console = {
|
console = {
|
||||||
keyMap = "dvorak";
|
keyMap = "dvorak";
|
||||||
font = "Lat2-Terminus16";
|
font = "Lat2-Terminus16";
|
||||||
colors =
|
colors = let colors = config.home-manager.users.rouven.colorScheme.colors; in
|
||||||
let colors = config.home-manager.users.rouven.colorScheme.colors;
|
|
||||||
in
|
|
||||||
[
|
[
|
||||||
colors.base00
|
colors.base00
|
||||||
colors.base08
|
colors.base08
|
||||||
|
@ -154,6 +152,7 @@
|
||||||
nvme-cli
|
nvme-cli
|
||||||
intel-gpu-tools
|
intel-gpu-tools
|
||||||
];
|
];
|
||||||
|
programs.java.enable = true;
|
||||||
|
|
||||||
system.stateVersion = "22.11";
|
system.stateVersion = "22.11";
|
||||||
}
|
}
|
||||||
|
|
47
pkgs/x32edit/default.nix
Normal file
47
pkgs/x32edit/default.nix
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
{ stdenv, fetchurl, lib, libX11, libXext, alsa-lib, freetype, ... }:
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "X32-Edit";
|
||||||
|
# 4.3 has some extra dependencies, TODO fix later
|
||||||
|
version = "4.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://mediadl.musictribe.com/download/software/behringer/X32/X32-Edit_LINUX_${version}.tar.gz";
|
||||||
|
#sha256 = "iVBBW6qVtEGlNXqKRZxObB9WfbOEjXMA1Nsp1CTFOH4=";
|
||||||
|
sha256 = "YyxrXWRapTj31dEv4pGFt4zZf+kb4TunPigyVh0+XH8=";
|
||||||
|
};
|
||||||
|
|
||||||
|
sourceRoot = ".";
|
||||||
|
dontBuild = true;
|
||||||
|
dontStrip = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp ${pname} $out/bin
|
||||||
|
'';
|
||||||
|
preFixup =
|
||||||
|
let
|
||||||
|
# we prepare our library path in the let clause to avoid it become part of the input of mkDerivation
|
||||||
|
libPath = lib.makeLibraryPath [
|
||||||
|
libX11 # libX11.so.6
|
||||||
|
libXext # libXext.so.6
|
||||||
|
alsa-lib # libasound.so.2
|
||||||
|
freetype # libfreetype.so.6
|
||||||
|
stdenv.cc.cc.lib # libstdc++.so.6
|
||||||
|
];
|
||||||
|
in
|
||||||
|
''
|
||||||
|
patchelf \
|
||||||
|
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||||
|
--set-rpath "${libPath}" \
|
||||||
|
$out/bin/${pname}
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://www.behringer.com/behringer/product?modelCode=P0ASF";
|
||||||
|
description = "Editor for the behringer x32 digital mixer";
|
||||||
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||||
|
license = licenses.unfree;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = [ maintainers.magnetophon ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
# sound
|
# sound
|
||||||
pavucontrol
|
pavucontrol
|
||||||
|
(pkgs.callPackage ../../../pkgs/x32edit {})
|
||||||
|
|
||||||
# bluetooth
|
# bluetooth
|
||||||
blueman
|
blueman
|
||||||
|
|
Loading…
Reference in a new issue