diff --git a/pkgs/applications/audio/zynaddsubfx/default.nix b/pkgs/applications/audio/zynaddsubfx/default.nix new file mode 100644 index 000000000000..2931cfe41f63 --- /dev/null +++ b/pkgs/applications/audio/zynaddsubfx/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, alsaLib, fftw, fltk, minixml, zlib }: + +stdenv.mkDerivation rec { + name = "zynaddsubfx-${version}"; + version = "2.4.1"; + + src = fetchurl { + url = "mirror://sourceforge/zynaddsubfx/ZynAddSubFX-${version}.tar.bz2"; + sha256 = "1zn5lgh76rrbfj8d4jys2gc1j2pqrbdd18ywfdrk0s7jq4inwyfg"; + }; + + buildInputs = [ alsaLib fftw fltk minixml zlib ]; + + preConfigure = "cd src"; + + installPhase = "mkdir -p $out/bin; cp zynaddsubfx $out/bin"; + + meta = with stdenv.lib; { + description = "high quality software synthesizer"; + homepage = http://zynaddsubfx.sourceforge.net; + license = licenses.gpl2; + platforms = platforms.linux; + maintainers = [ maintainers.goibhniu ]; + }; +} diff --git a/pkgs/development/libraries/minixml/default.nix b/pkgs/development/libraries/minixml/default.nix new file mode 100644 index 000000000000..33b713239c85 --- /dev/null +++ b/pkgs/development/libraries/minixml/default.nix @@ -0,0 +1,19 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "mxml-${version}"; + version = "2.6"; + + src = fetchurl { + url = "http://ftp.easysw.com/pub/mxml/${version}/${name}.tar.gz"; + sha256 = "15cpqr43cwvy1ms67rfav8l9fjgybkaqfq7nhag8qnhd3bd4glxh"; + }; + + meta = with stdenv.lib; { + description = "a small XML library"; + homepage = http://www.minixml.org; + license = licenses.lgpl2; + platforms = platforms.linux; + maintainers = [ maintainers.goibhniu ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 95a1681e5c54..46017fe40aa0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -906,6 +906,8 @@ let miniupnpd = callPackage ../tools/networking/miniupnpd { }; + minixml = callPackage ../development/libraries/minixml { }; + mjpegtools = callPackage ../tools/video/mjpegtools { }; mkcue = callPackage ../tools/cd-dvd/mkcue { }; @@ -7036,6 +7038,10 @@ let zathura = callPackage ../applications/misc/zathura { }; + zynaddsubfx = callPackage ../applications/audio/zynaddsubfx { + fltk = fltk11; + }; + ### GAMES asc = callPackage ../games/asc {