diff --git a/pkgs/applications/audio/freac/default.nix b/pkgs/applications/audio/freac/default.nix new file mode 100644 index 000000000000..f60320784a25 --- /dev/null +++ b/pkgs/applications/audio/freac/default.nix @@ -0,0 +1,38 @@ +{ lib +, stdenv +, fetchFromGitHub + +, boca +, smooth +, systemd +}: + +stdenv.mkDerivation rec { + pname = "freac"; + version = "1.1.3"; + + src = fetchFromGitHub { + owner = "enzo1982"; + repo = "freac"; + rev = "v${version}"; + sha256 = "1sdrsc5pn5901bbds7dj02n71zn5rs4wnv2xxs8ffql4b7jjva0m"; + }; + + buildInputs = [ + boca + smooth + systemd + ]; + + makeFlags = [ + "prefix=$(out)" + ]; + + meta = with lib; { + description = "The fre:ac audio converter project"; + license = licenses.gpl2Plus; + homepage = "https://www.freac.org/"; + maintainers = with maintainers; [ shamilton ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index be5605561ed8..3d02f837a220 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4374,6 +4374,8 @@ in mkFranzDerivation = callPackage ../applications/networking/instant-messengers/franz/generic.nix { }; }; + freac = callPackage ../applications/audio/freac { }; + freedroid = callPackage ../games/freedroid { }; freedroidrpg = callPackage ../games/freedroidrpg { };