mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
31 lines
750 B
Nix
31 lines
750 B
Nix
{ lib, stdenv, fetchFromGitHub
|
|
, pkg-config, cmake
|
|
, libpulseaudio, ncurses }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pamix";
|
|
version = "1.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "patroclos";
|
|
repo = "pamix";
|
|
rev = version;
|
|
sha256 = "1d44ggnwkf2gff62959pj45v3a2k091q8v154wc5pmzamam458wp";
|
|
};
|
|
|
|
preConfigure = ''
|
|
substituteInPlace CMakeLists.txt --replace "/etc" "$out/etc/xdg"
|
|
'';
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
buildInputs = [ libpulseaudio ncurses ];
|
|
|
|
meta = with lib; {
|
|
description = "Pulseaudio terminal mixer";
|
|
homepage = "https://github.com/patroclos/PAmix";
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ ericsagnes ];
|
|
};
|
|
}
|