2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, fftw, gtk2, libao, libsamplerate
|
2021-01-19 07:50:56 +01:00
|
|
|
, libsndfile, ncurses, pkg-config
|
2019-10-20 21:23:54 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "waon";
|
|
|
|
version = "0.11";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kichiki";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1xmq8d2rj58xbp4rnyav95y1vnz3r9s9db7xxfa2rd0ilq0ps4y7";
|
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2019-10-20 21:23:54 +02:00
|
|
|
buildInputs = [ fftw gtk2 libao libsamplerate libsndfile ncurses ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -Dt $out/bin waon pv gwaon
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-10-20 21:23:54 +02:00
|
|
|
description = "A Wave-to-Notes transcriber";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://kichiki.github.io/WaoN/";
|
2019-10-20 21:23:54 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.puckipedia ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|