1{ stdenv, lib, fetchFromGitea, autoconf, automake, libtool }:
2
3stdenv.mkDerivation rec {
4 pname = "soundtouch";
5 version = "2.3.3";
6
7 src = fetchFromGitea {
8 domain = "codeberg.org";
9 owner = "soundtouch";
10 repo = "soundtouch";
11 rev = version;
12 sha256 = "sha256-imeeTj+3gXxoGTuC/13+BAplwcnQ0wRJdSVt7MPlBxc=";
13 };
14
15 nativeBuildInputs = [ autoconf automake libtool ];
16
17 preConfigure = "./bootstrap";
18
19 enableParallelBuilding = true;
20
21 meta = with lib; {
22 description = "A program and library for changing the tempo, pitch and playback rate of audio";
23 homepage = "https://www.surina.net/soundtouch/";
24 license = licenses.lgpl21Plus;
25 maintainers = with maintainers; [ orivej ];
26 mainProgram = "soundstretch";
27 platforms = platforms.all;
28 };
29}