Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f6f21d87ec93
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0ef73ffdbdcd
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Mar 23, 2019

  1. paulstretch: init at version 2.2-2

    This is a neat little program for extreme sound stretching and it was
    not in the repo yet.
    
    (cherry picked from commit e0c3c2e)
    
    cc #57589 #58191
    Zer0- authored and veprbl committed Mar 23, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    veprbl Dmitry Kalinkin
    Copy the full SHA
    0ef73ff View commit details
Showing with 65 additions and 0 deletions.
  1. +63 −0 pkgs/applications/audio/paulstretch/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
63 changes: 63 additions & 0 deletions pkgs/applications/audio/paulstretch/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{ stdenv
, fetchFromGitHub
, audiofile
, libvorbis
, fltk
, fftw
, fftwFloat
, minixml
, pkgconfig
, libmad
, libjack2
, portaudio
, libsamplerate
}:

stdenv.mkDerivation rec {
name = "${pname}-${version}";
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";
rev = "7f5c3993abe420661ea0b808304b0e2b4b0048c5";
sha256 = "06dy03dbz1yznhsn0xvsnkpc5drzwrgxbxdx0hfpsjn2xcg0jrnc";
};

nativeBuildInputs = [ pkgconfig ];

buildInputs = [
audiofile
libvorbis
fltk
fftw
fftwFloat
minixml
libmad
libjack2
portaudio
libsamplerate
];

buildPhase = ''
bash compile_linux_fftw_jack.sh
'';

installPhase = ''
install -Dm555 ./paulstretch $out/bin/paulstretch
'';
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -4766,6 +4766,8 @@ in

parted = callPackage ../tools/misc/parted { };

paulstretch = callPackage ../applications/audio/paulstretch { };

pell = callPackage ../applications/misc/pell { };

pepper = callPackage ../tools/admin/salt/pepper { };