Files
nixpkgs/pkgs/by-name/po/ponymix/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

38 lines
743 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
libpulseaudio,
libnotify,
pkg-config,
}:
stdenv.mkDerivation rec {
pname = "ponymix";
version = "5";
src = fetchFromGitHub {
owner = "falconindy";
repo = "ponymix";
rev = version;
sha256 = "08yp7fprmzm6px5yx2rvzri0l60bra5h59l26pn0k071a37ks1rb";
};
buildInputs = [
libpulseaudio
libnotify
];
nativeBuildInputs = [ pkg-config ];
postPatch = ''substituteInPlace Makefile --replace "\$(DESTDIR)/usr" "$out"'';
meta = with lib; {
description = "CLI PulseAudio Volume Control";
homepage = "https://github.com/falconindy/ponymix";
mainProgram = "ponymix";
license = licenses.mit;
platforms = platforms.linux;
maintainers = [ ];
};
}