@@ -0,0 +1,38 @@
1+{ lib
2+, rustPlatform
3+, fetchFromGitHub
4+, pkg-config
5+, libpulseaudio
6+, glib
7+, pango
8+, gtk3
9+}:
10+
11+rustPlatform.buildRustPackage rec {
12+ pname = "myxer";
13+ version = "1.2.0";
14+
15+ src = fetchFromGitHub {
16+ owner = "Aurailus";
17+ repo = pname;
18+ rev = version;
19+ sha256 = "10m5qkys96n4v6qiffdiy0w660yq7b5sa70ww2zskc8d0gbmxp6x";
20+ };
21+
22+ cargoSha256 = "0nsscdjl5fh24sg87vdmijjmlihc0zk0p3vac701v60xlz55qipn";
23+
24+ nativeBuildInputs = [ pkg-config ];
25+
26+ buildInputs = [ libpulseaudio glib pango gtk3 ];
27+
28+ # Currently no tests are implemented, so we avoid building the package twice
29+ doCheck = false;
30+
31+ meta = with lib; {
32+ description = "A modern Volume Mixer for PulseAudio";
33+ homepage = "https://github.com/Aurailus/Myxer";
34+ license = licenses.gpl3Only;
35+ maintainers = with maintainers; [ erin ];
36+ platforms = platforms.linux;
37+ };
38+}