summary refs log tree commit diff
path: root/pkgs/development/libraries/aubio/default.nix
diff options
context:
space:
mode:
authorCillian de Róiste <cillian.deroiste@gmail.com>2014-02-18 21:24:33 +0100
committerCillian de Róiste <goibhniu@fsfe.org>2014-02-18 21:28:16 +0100
commit78f961e217494d9c290c406f2fd4c7beeadd3276 (patch)
tree7331cf362b9ae7a2d72b2d0c4317de63c2af3604 /pkgs/development/libraries/aubio/default.nix
parent134e65b15054ede94f30f78dd811a530633f2c0e (diff)
downloadnixpkgs-78f961e217494d9c290c406f2fd4c7beeadd3276.tar
nixpkgs-78f961e217494d9c290c406f2fd4c7beeadd3276.tar.gz
nixpkgs-78f961e217494d9c290c406f2fd4c7beeadd3276.tar.bz2
nixpkgs-78f961e217494d9c290c406f2fd4c7beeadd3276.tar.lz
nixpkgs-78f961e217494d9c290c406f2fd4c7beeadd3276.tar.xz
nixpkgs-78f961e217494d9c290c406f2fd4c7beeadd3276.tar.zst
nixpkgs-78f961e217494d9c290c406f2fd4c7beeadd3276.zip
aubio: Fix the build, tidy up and add myself as a maintainer
Diffstat (limited to 'pkgs/development/libraries/aubio/default.nix')
-rw-r--r--pkgs/development/libraries/aubio/default.nix27
1 files changed, 16 insertions, 11 deletions
diff --git a/pkgs/development/libraries/aubio/default.nix b/pkgs/development/libraries/aubio/default.nix
index d0a95b5d773..180de0e0bd5 100644
--- a/pkgs/development/libraries/aubio/default.nix
+++ b/pkgs/development/libraries/aubio/default.nix
@@ -1,5 +1,6 @@
-{ stdenv, fetchurl, pkgconfig, fftw, libsndfile, libsamplerate
-, python, alsaLib, jackaudio }:
+{ stdenv, fetchurl, alsaLib, fftw, jackaudio, libsamplerate
+, libsndfile, pkgconfig, python
+}:
 
 stdenv.mkDerivation rec {
   name = "aubio-0.4.0";
@@ -9,17 +10,21 @@ stdenv.mkDerivation rec {
     sha256 = "18ik5nn8n984f0wnrwdfhc06b8blqgm9b2hrm7hc9m0rr039mpj9";
   };
 
-  buildInputs =
-    [ pkgconfig fftw libsndfile libsamplerate python
-      # optional:
-      alsaLib jackaudio
-    ];
+  buildInputs = [
+    alsaLib fftw jackaudio libsamplerate libsndfile pkgconfig python
+  ];
 
-  meta = { 
+  configurePhase = "python waf configure --prefix=$out";
+
+  buildPhase = "python waf";
+
+  installPhase = "python waf install";
+
+  meta = with stdenv.lib; { 
     description = "Library for audio labelling";
     homepage = http://aubio.org/;
-    license = "GPLv2";
-    maintainers = [ stdenv.lib.maintainers.marcweber ];
-    platforms = stdenv.lib.platforms.linux;
+    license = licenses.gpl2;
+    maintainers = [ maintainers.goibhniu maintainers.marcweber ];
+    platforms = platforms.linux;
   };
 }