From 3a9825c9b0a26f089864359266e1dfd01f46476d Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Wed, 12 Jan 2011 10:37:57 +0000 Subject: [PATCH] Adding dissi svn path=/nixpkgs/trunk/; revision=25515 --- pkgs/development/libraries/dissi/default.nix | 50 ++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 pkgs/development/libraries/dissi/default.nix diff --git a/pkgs/development/libraries/dissi/default.nix b/pkgs/development/libraries/dissi/default.nix new file mode 100644 index 00000000000..9074120d7de --- /dev/null +++ b/pkgs/development/libraries/dissi/default.nix @@ -0,0 +1,50 @@ +x@{builderDefsPackage + , ladspaH, jackaudio, liblo, alsaLib, qt4, libX11, libsndfile, libSM + , libsamplerate, libtool, autoconf, automake, xproto, libICE + , ...}: +builderDefsPackage +(a : +let + helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ + []; + + buildInputs = map (n: builtins.getAttr n x) + (builtins.attrNames (builtins.removeAttrs x helperArgNames)); + sourceInfo = rec { + baseName="dssi"; + version="1.1.0"; + project="${baseName}"; + name="${baseName}-${version}"; + url="mirror://sourceforge/project/${project}/${baseName}/${version}/${name}.tar.gz"; + hash="0lwvyrsr9dm032rrhxad30k712q3arrbn7g898n3flg26hmw58yf"; + }; +in +rec { + src = a.fetchurl { + url = sourceInfo.url; + sha256 = sourceInfo.hash; + }; + + inherit (sourceInfo) name version; + inherit buildInputs; + + /* doConfigure should be removed if not needed */ + phaseNames = ["doConfigure" "doMakeInstall"]; + + meta = { + description = "A plugin SDK for virtual instruments"; + maintainers = with a.lib.maintainers; + [ + raskin + ]; + platforms = with a.lib.platforms; + linux; + license = a.lib.licenses.lgpl21; + }; + passthru = { + updateInfo = { + downloadPage = "http://sourceforge.net/projects/dssi/files/dssi/"; + }; + }; +}) x +