mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +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
743 B
Nix
31 lines
743 B
Nix
{ lib, stdenv, fetchFromGitHub, fftw, gtk2, libao, libsamplerate
|
|
, libsndfile, ncurses, pkg-config
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "waon";
|
|
version = "0.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kichiki";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1xmq8d2rj58xbp4rnyav95y1vnz3r9s9db7xxfa2rd0ilq0ps4y7";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ fftw gtk2 libao libsamplerate libsndfile ncurses ];
|
|
|
|
installPhase = ''
|
|
install -Dt $out/bin waon pv gwaon
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A Wave-to-Notes transcriber";
|
|
homepage = "https://kichiki.github.io/WaoN/";
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.puckipedia ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|