diff options
author | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2019-03-23 19:59:09 -0400 |
---|---|---|
committer | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2019-03-23 20:01:03 -0400 |
commit | abda3f03251eb3f39adabb18b0343b6d2e3a5dae (patch) | |
tree | 1a74ef7be6deeb00ceb61b1a59d58346638c40b3 /pkgs/applications/audio/paulstretch | |
parent | 9b63cea52bb71391d854b749c27e78541fe19d21 (diff) |
paulstretch: refactor, reindent
Diffstat (limited to 'pkgs/applications/audio/paulstretch')
-rw-r--r-- | pkgs/applications/audio/paulstretch/default.nix | 45 |
1 files changed, 16 insertions, 29 deletions
diff --git a/pkgs/applications/audio/paulstretch/default.nix b/pkgs/applications/audio/paulstretch/default.nix index ccfc6fdfc4a43..b2c049c9eeebd 100644 --- a/pkgs/applications/audio/paulstretch/default.nix +++ b/pkgs/applications/audio/paulstretch/default.nix @@ -1,36 +1,10 @@ -{ stdenv -, fetchFromGitHub -, audiofile -, libvorbis -, fltk -, fftw -, fftwFloat -, minixml -, pkgconfig -, libmad -, libjack2 -, portaudio -, libsamplerate -}: +{ stdenv, fetchFromGitHub, audiofile, libvorbis, fltk, fftw, fftwFloat, +minixml, pkgconfig, libmad, libjack2, portaudio, libsamplerate }: -stdenv.mkDerivation rec { - name = "${pname}-${version}"; +stdenv.mkDerivation { pname = "paulstretch"; version = "2.2-2"; - meta = with stdenv.lib; - { description = "Produces high quality extreme sound stretching"; - longDescription = '' - This is a program for stretching the audio. It is suitable only for - extreme sound stretching of the audio (like 50x) and for applying - special effects by "spectral smoothing" the sounds. - It can transform any sound/music to a texture. - ''; - homepage = http://hypermammut.sourceforge.net/paulstretch/; - platforms = platforms.linux; - license = licenses.gpl2; - }; - src = fetchFromGitHub { owner = "paulnasca"; repo = "paulstretch_cpp"; @@ -60,4 +34,17 @@ stdenv.mkDerivation rec { installPhase = '' install -Dm555 ./paulstretch $out/bin/paulstretch ''; + + meta = with stdenv.lib; { + description = "Produces high quality extreme sound stretching"; + longDescription = '' + This is a program for stretching the audio. It is suitable only for + extreme sound stretching of the audio (like 50x) and for applying + special effects by "spectral smoothing" the sounds. + It can transform any sound/music to a texture. + ''; + homepage = http://hypermammut.sourceforge.net/paulstretch/; + platforms = platforms.linux; + license = licenses.gpl2; + }; } |