upstreamed my stuff

This commit is contained in:
Rouven Seifert 2023-05-14 22:04:06 +02:00
parent 4d664262e0
commit c038fa3228
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
5 changed files with 13 additions and 92 deletions

View file

@ -23,11 +23,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1684058710, "lastModified": 1684061181,
"narHash": "sha256-A0Qix+nPSjxO9kn2iFxciui0UolDancvFSWQGxU453s=", "narHash": "sha256-EJpZ+Drpt3aHpowddpsQFBWsqLSJHyP6dnremTVMdWw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "db3d440e2664e8aaf67742b6fd545cf148fe5016", "rev": "e4272987f785a8848205263abb4911b922c21e1b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -44,11 +44,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1683977796, "lastModified": 1684068895,
"narHash": "sha256-b1tlmtHcAHSj4ORC/5qVcBoNxU8wJbhhPRd0HhutaCM=", "narHash": "sha256-1oSX5LQmSl/lcpPdM+NG2TlLynFmVbubNeIoSF1Mmv0=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "896a78aaa0bb2e4d4f197ed1286c4f030dbaef5f", "rev": "7c207243e41b5b4f35d790767ad2e21eba1b7a0b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -196,11 +196,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1683408522, "lastModified": 1684049129,
"narHash": "sha256-9kcPh6Uxo17a3kK3XCHhcWiV1Yu1kYj22RHiymUhMkU=", "narHash": "sha256-7WB9LpnPNAS8oI7hMoHeKLNhRX7k3CI9uWBRSfmOCCE=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "897876e4c484f1e8f92009fd11b7d988a121a4e7", "rev": "0470f36b02ef01d4f43c641bbf07020bcab71bf1",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,32 +0,0 @@
{ lib, stdenv, fetchFromGitHub }:
let
themeName = "Dracula";
version = "2021-07-21";
in
stdenv.mkDerivation {
pname = "dracula-icon-theme";
inherit version;
src = fetchFromGitHub {
owner = "m4thewz";
repo = "dracula-icons";
rev = "2d3c83caa8664e93d956cfa67a0f21418b5cdad8";
sha256 = "GY+XxTM22jyNq8kaB81zNfHRhfXujArFcyzDa8kjxCQ=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/icons/${themeName}
cp -a * $out/share/icons/${themeName}/
runHook postInstall
'';
meta = with lib; {
description = "Dracula Icon theme";
homepage = "https://github.com/m4thewz/dracula-icons";
platforms = platforms.all;
license = licenses.gpl3;
maintainers = with maintainers; [ therealr5 ];
};
}

View file

@ -1,48 +0,0 @@
{ stdenv, fetchurl, lib, libX11, libXext, alsa-lib, freetype, curlWithGnuTls, ... }:
stdenv.mkDerivation rec {
pname = "X32-Edit";
version = "4.3";
# 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 [
curlWithGnuTls
# 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 ];
};
}

View file

@ -22,7 +22,7 @@
# sound # sound
pavucontrol pavucontrol
# (pkgs.callPackage ../../../pkgs/x32edit { }) x32edit
# bluetooth # bluetooth
blueman blueman
@ -44,11 +44,12 @@
# yubikey and password stuff # yubikey and password stuff
yubikey-manager yubikey-manager
yubikey-manager-qt yubikey-manager-qt
yubioath-flutter # yubioath-flutter # broken, TODO fix
bitwarden bitwarden
bitwarden-cli bitwarden-cli
# misc # misc
btop
neofetch # obligatory neofetch # obligatory
virt-manager virt-manager
ventoy ventoy

View file

@ -12,7 +12,7 @@
}; };
iconTheme = { iconTheme = {
name = "Dracula"; name = "Dracula";
package = (pkgs.callPackage ../../../../pkgs/dracula-icon-theme { }); package = pkgs.dracula-icon-theme;
}; };
}; };
home.pointerCursor = { home.pointerCursor = {