blob: 738d0888f977d58a4dc8829df5935a7d295969f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{ stdenv, rustPlatform, dbus, installShellFiles, ... }:
rustPlatform.buildRustPackage rec {
name = "set_eq-${version}";
version = "0.1.0";
nativeBuildInputs = [ installShellFiles ];
buildInputs = [ dbus ];
src = ./.;
cargoSha256 = "0639d4b5f3vxljinm59vh7kfvqqm07iah90gqb10l91xpc9lj2b5";
postInstall = ''
installShellCompletion --bash target/release/build/set_eq-*/out/set_eq.bash
installShellCompletion --fish target/release/build/set_eq-*/out/set_eq.fish
installShellCompletion --zsh target/release/build/set_eq-*/out/_set_eq
'';
meta = with stdenv.lib; {
description = "A command-line tool to manipulate PulseAudio's equalizer";
homepage = https://github.com/minijackson/set_eq;
platforms = platforms.all;
};
}
|