File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ { lib
2+ , rustPlatform
3+ , fetchFromGitHub
4+ , pkg-config
5+ , wrapGAppsHook
6+ , libpulseaudio
7+ , glib
8+ , pango
9+ , gtk3
10+ } :
11+
12+ rustPlatform . buildRustPackage rec {
13+ pname = "myxer" ;
14+ version = "1.3.0" ;
15+
16+ src = fetchFromGitHub {
17+ owner = "Aurailus" ;
18+ repo = "myxer" ;
19+ rev = version ;
20+ hash = "sha256-c5SHjnhWLp0jMdmDlupMTA0hWphub5DFY1vOI6NW8E0=" ;
21+ } ;
22+
23+ cargoHash = "sha256-IH+SLIHO/wu+przH+mgOEnH9m+iAE5s/BJhh0UUHR/0=" ;
24+
25+ nativeBuildInputs = [ pkg-config wrapGAppsHook ] ;
26+
27+ buildInputs = [ libpulseaudio glib pango gtk3 ] ;
28+
29+ postInstall = ''
30+ install -Dm644 Myxer.desktop $out/share/applications/Myxer.desktop
31+ '' ;
32+
33+ # Currently no tests are implemented, so we avoid building the package twice
34+ doCheck = false ;
35+
36+ meta = with lib ; {
37+ description = "A modern Volume Mixer for PulseAudio" ;
38+ homepage = "https://github.com/Aurailus/Myxer" ;
39+ license = licenses . gpl3Only ;
40+ maintainers = with maintainers ; [ erin rster2002 ] ;
41+ mainProgram = "myxer" ;
42+ platforms = platforms . linux ;
43+ } ;
44+ }
You can’t perform that action at this time.
0 commit comments