diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2013-06-04 11:35:33 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2013-06-04 11:37:43 +0200 |
commit | 7cfdfda910b339b057ee34b9338d38080668ad9f (patch) | |
tree | 8b19cb51c50fea868ab174fd5598f93e33e19438 /pkgs/applications/misc/audio | |
parent | cb5b198b514e9ed214627ab91ed93082a1789541 (diff) | |
download | nixpkgs-7cfdfda910b339b057ee34b9338d38080668ad9f.tar nixpkgs-7cfdfda910b339b057ee34b9338d38080668ad9f.tar.gz nixpkgs-7cfdfda910b339b057ee34b9338d38080668ad9f.tar.bz2 nixpkgs-7cfdfda910b339b057ee34b9338d38080668ad9f.tar.lz nixpkgs-7cfdfda910b339b057ee34b9338d38080668ad9f.tar.xz nixpkgs-7cfdfda910b339b057ee34b9338d38080668ad9f.tar.zst nixpkgs-7cfdfda910b339b057ee34b9338d38080668ad9f.zip |
audacity: minor update, prefer system-wide libs
- Using system-wide libs where we have them (except for portaudio, which I couldn't make work). - Add the soxr library (now the preferred way of audio resampling).
Diffstat (limited to 'pkgs/applications/misc/audio')
-rw-r--r-- | pkgs/applications/misc/audio/soxr/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/applications/misc/audio/soxr/default.nix b/pkgs/applications/misc/audio/soxr/default.nix new file mode 100644 index 00000000000..a8dd26ab609 --- /dev/null +++ b/pkgs/applications/misc/audio/soxr/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, cmake }: + +stdenv.mkDerivation rec { + name = "soxr-0.1.1"; + + src = fetchurl { + url = "mirror://sourceforge/soxr/${name}-Source.tar.xz"; + sha256 = "1hmadwqfpg15vhwq9pa1sl5xslibrjpk6hpq2s9hfmx1s5l6ihfw"; + }; + + preConfigure = ''export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:"`pwd`/build/src''; + + buildInputs = [ cmake ]; + + meta = { + description = "An audio resampling library"; + homepage = http://soxr.sourceforge.net; + license = "LGPLv2.1+"; + }; +} |