nixpkgs/pkgs/applications/audio/waon/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
741 B
Nix
Raw Normal View History

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