diff --git a/pkgs/applications/audio/freac/default.nix b/pkgs/applications/audio/freac/default.nix new file mode 100644 index 00000000000..f60320784a2 --- /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/development/libraries/boca/default.nix b/pkgs/development/libraries/boca/default.nix new file mode 100644 index 00000000000..a23acdbdc8a --- /dev/null +++ b/pkgs/development/libraries/boca/default.nix @@ -0,0 +1,51 @@ +{ lib +, stdenv +, fetchFromGitHub +, pkg-config + +, expat +, libcdio +, libcdio-paranoia +, libpulseaudio +, smooth +, uriparser +, zlib +}: + +stdenv.mkDerivation rec { + pname = "BoCA"; + version = "1.0.3"; + + src = fetchFromGitHub { + owner = "enzo1982"; + repo = "boca"; + rev = "v${version}"; + sha256 = "0x6pqd5cdag0l283lkq01qaqwyf1skxbncdwig8b2s742nbzjlz8"; + }; + + nativeBuildInputs = [ + pkg-config + ]; + + buildInputs = [ + expat + libcdio + libcdio-paranoia + libpulseaudio + smooth + uriparser + zlib + ]; + + makeFlags = [ + "prefix=$(out)" + ]; + + meta = with lib; { + description = "A component library used by the fre:ac audio converter"; + license = licenses.gpl2Plus; + homepage = "https://github.com/enzo1982/boca"; + maintainers = with maintainers; [ shamilton ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/development/libraries/smooth/default.nix b/pkgs/development/libraries/smooth/default.nix new file mode 100644 index 00000000000..f8686238211 --- /dev/null +++ b/pkgs/development/libraries/smooth/default.nix @@ -0,0 +1,43 @@ +{ lib +, stdenv +, fetchFromGitHub +, pkg-config + +, gtk3 +, curl +, libxml2 +}: + +stdenv.mkDerivation rec { + pname = "smooth"; + version = "0.9.6"; + + src = fetchFromGitHub { + owner = "enzo1982"; + repo = "smooth"; + rev = "v${version}"; + sha256 = "05j5gk6kz2089x8bcq2l0kjspfiiymxn69jcxl4dh9lw96blbadr"; + }; + + nativeBuildInputs = [ + pkg-config + ]; + + makeFlags = [ + "prefix=$(out)" + ]; + + buildInputs = [ + gtk3 + curl + libxml2 + ]; + + meta = with lib; { + description = "The smooth Class Library"; + license = licenses.artistic2; + homepage = "http://www.smooth-project.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 144a3a7a0e5..c02f47f2a39 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1721,6 +1721,8 @@ in bmake = callPackage ../development/tools/build-managers/bmake { }; + boca = callPackage ../development/libraries/boca { }; + bochs = callPackage ../applications/virtualization/bochs { }; bubblewrap = callPackage ../tools/admin/bubblewrap { }; @@ -4376,6 +4378,8 @@ in mkFranzDerivation = callPackage ../applications/networking/instant-messengers/franz/generic.nix { }; }; + freac = callPackage ../applications/audio/freac { }; + freedroid = callPackage ../games/freedroid { }; freedroidrpg = callPackage ../games/freedroidrpg { }; @@ -23019,6 +23023,8 @@ in smallwm = callPackage ../applications/window-managers/smallwm { }; + smooth = callPackage ../development/libraries/smooth { }; + smos = callPackage ../applications/misc/smos { }; spectrwm = callPackage ../applications/window-managers/spectrwm { };