paulstretch: refactor, reindent

This commit is contained in:
Dmitry Kalinkin 2019-03-23 19:59:09 -04:00
parent 9b63cea52b
commit abda3f0325
No known key found for this signature in database
GPG Key ID: 06AF1D3C38F04E0E

View File

@ -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;
};
}