+/config

my dotfiles and nix configuration

git clone https://git.julia.blue/+/config

Julia RyanFix taguar8ad7d7e

main
1.5 KiB55 linesraw
1{ lib, rustPlatform, fetchFromGitHub, pkg-config, libxkbcommon, vulkan-loader,
2  stdenv, alsa-lib, wayland, opus, autoPatchelfHook }:
3rustPlatform.buildRustPackage (finalAttrs: {
4  pname = "taguar";
5  version = "2026-07-26";
6
7  src = fetchFromGitHub {
8    owner = "ad-si";
9    repo = "taguar";
10    rev = "efeb30a3a86886b19f5d7b72ed0486609d325e29";
11    hash = "sha256-EoqT/mdNvAHqbW5ObAljTh6Vch5U32rlhV67f4uIaFo=";
12  };
13
14  cargoHash = "sha256-+cl2BFi4+WTY7/pyHbN608fCueCOo/DvEKwZ7Soj+RQ=";
15  doCheck = false;
16
17  nativeBuildInputs = [
18    pkg-config
19    autoPatchelfHook
20  ];
21
22  buildInputs = [
23    (lib.getLib stdenv.cc.cc)
24    libxkbcommon
25    vulkan-loader
26    opus
27  ]
28  ++ lib.optionals stdenv.hostPlatform.isLinux [
29    alsa-lib
30  ];
31
32  runtimeDependencies = lib.optionals stdenv.hostPlatform.isLinux [
33    wayland
34    libxkbcommon.out
35  ];
36
37  postPatch = ''
38    mkdir -p images
39    cat << 'EOF' > images/trash.svg
40    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
41      <polyline points="3 6 5 6 21 6"></polyline>
42      <path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path>
43      <line x1="10" y1="11" x2="10" y2="17"></line>
44      <line x1="14" y1="11" x2="14" y2="17"></line>
45    </svg>
46    EOF
47  '';
48
49  meta = {
50    description = "Simple audio tagging desktop app (id3v2, Vorbis Comments";
51    homepage = "https://github.com/ad-si/taguar";
52    license = lib.licenses.agpl3Only;
53    mainProgram = "taguar";
54  };
55})