1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5
6 boca,
7 smooth,
8 systemd,
9}:
10
11stdenv.mkDerivation rec {
12 pname = "freac";
13 version = "1.1.7";
14
15 src = fetchFromGitHub {
16 owner = "enzo1982";
17 repo = "freac";
18 rev = "v${version}";
19 sha256 = "sha256-bHoRxxhSM7ipRkiBG7hEa1Iw8Z3tOHQ/atngC/3X1a4=";
20 };
21
22 buildInputs = [
23 boca
24 smooth
25 systemd
26 ];
27
28 makeFlags = [
29 "prefix=$(out)"
30 ];
31
32 meta = with lib; {
33 description = "Audio converter and CD ripper with support for various popular formats and encoders";
34 license = licenses.gpl2Plus;
35 homepage = "https://www.freac.org/";
36 maintainers = with maintainers; [ shamilton ];
37 platforms = platforms.linux;
38 };
39}