mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
commit
bdb2985949
@ -1,32 +1,26 @@
|
|||||||
{ stdenv, fetchurl, puredata }:
|
{ stdenv, fetchFromGitHub, puredata }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "cyclone-${version}";
|
name = "cyclone-${version}";
|
||||||
version = "0.1-alpha55";
|
version = "0.3beta-2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "mirror://sourceforge/project/pure-data/libraries/cyclone/${name}.tar.gz";
|
owner = "porres";
|
||||||
sha256 = "1yys9xrlz09xgnqk2gqdl8vw6xj6l9d7km2lkihidgjql0jx5b5i";
|
repo = "pd-cyclone";
|
||||||
|
rev = "cyclone${version}";
|
||||||
|
sha256 = "192jrq3bdsv626js1ymq10gwp9wwcszjs63ys6ap9ig8xdkbhr3q";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ puredata ];
|
buildInputs = [ puredata ];
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
makeFlags = [
|
||||||
|
"pdincludepath=${puredata}/include/pd"
|
||||||
|
"prefix=$(out)"
|
||||||
|
];
|
||||||
|
|
||||||
patchPhase = ''
|
postInstall = ''
|
||||||
for file in `grep -r -l g_canvas.h`
|
mv "$out/lib/pd-externals/cyclone" "$out/"
|
||||||
do
|
rm -rf $out/lib
|
||||||
sed -i 's|#include "g_canvas.h"|#include "${puredata}/include/pd/g_canvas.h"|g' $file
|
|
||||||
done
|
|
||||||
for file in `grep -r -l m_imp.h`
|
|
||||||
do
|
|
||||||
sed -i 's|#include "m_imp.h"|#include "${puredata}/include/pd/m_imp.h"|g' $file
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out/cyclone
|
|
||||||
cp -r bin/* $out/cyclone
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -1,28 +1,26 @@
|
|||||||
{ stdenv, fetchurl, puredata }:
|
{ stdenv, fetchFromGitHub, puredata }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "maxlib-${version}";
|
name = "maxlib-${version}";
|
||||||
version = "1.5.5";
|
version = "1.5.7";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "mirror://sourceforge/project/pure-data/libraries/maxlib/${name}.tar.gz";
|
owner = "electrickery";
|
||||||
sha256 = "0vxl9s815dnay5r0067rxsfh8f6jbk61f0nxrydzjydfycza7p1w";
|
repo = "pd-maxlib";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "10w9qfgn26lj3zqjksf2r1wsjpf5xy4dx22jay9l6idy9q62mxsn";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ puredata ];
|
buildInputs = [ puredata ];
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
patchPhase = ''
|
makeFlags = [ "prefix=$(out)" ];
|
||||||
for i in ${puredata}/include/pd/*; do
|
|
||||||
ln -s $i .
|
|
||||||
done
|
|
||||||
sed -i "s@/usr@$out@g" Makefile
|
|
||||||
'';
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mv $out/local/lib/pd-externals/maxlib/ $out
|
mv $out/lib/pd-externals/maxlib/ $out
|
||||||
rm -rf $out/local/
|
rm -rf $out/local/
|
||||||
|
rm -rf $out/lib/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -1,30 +1,40 @@
|
|||||||
{ stdenv, fetchurl, unzip, puredata }:
|
{ stdenv, fetchurl, unzip, puredata, fftw }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.6.0";
|
version = "0.7.0";
|
||||||
name = "timbreid-${version}";
|
name = "timbreid-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://williambrent.conflations.com/pd/timbreID-${version}-src.zip";
|
url = "http://williambrent.conflations.com/pd/timbreID-${version}-src.zip";
|
||||||
sha256 = "02rnkb0vpjxrr60c3hryv7zhyjpci2mi9dk27kjxpj5zp26gjk0p";
|
sha256 = "14k2xk5zrzrw1zprdbwx45hrlc7ck8vq4drpd3l455i5r8yk4y6b";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ unzip puredata ];
|
buildInputs = [ unzip puredata fftw ];
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
|
mkdir source
|
||||||
|
cd source
|
||||||
unzip $src
|
unzip $src
|
||||||
mv timbreID-0.6.0-src/tID/* .
|
|
||||||
rm -rf timbreID-0.6.0-src/tID/
|
|
||||||
rm -rf timbreID-0.6.0-src/INSTALL.txt
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
make tIDLib.o all
|
||||||
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/
|
mkdir -p $out/
|
||||||
cp -r *.pd $out/
|
cp -r *.pd $out/
|
||||||
cp -r *.pd_linux $out/
|
cp -r *.pd_linux $out/
|
||||||
cp -r *.wav $out/
|
cp -r audio/ $out/
|
||||||
|
cp -r data/ $out/
|
||||||
|
cp -r doc/ $out/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
mv $out/share/doc/ $out/
|
||||||
|
rm -rf $out/share/
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A collection of audio feature analysis externals for puredata";
|
description = "A collection of audio feature analysis externals for puredata";
|
||||||
homepage = http://williambrent.conflations.com/pages/research.html;
|
homepage = http://williambrent.conflations.com/pages/research.html;
|
||||||
|
@ -17282,7 +17282,9 @@ with pkgs;
|
|||||||
gtk = gtk3;
|
gtk = gtk3;
|
||||||
};
|
};
|
||||||
|
|
||||||
timbreid = callPackage ../applications/audio/pd-plugins/timbreid { };
|
timbreid = callPackage ../applications/audio/pd-plugins/timbreid {
|
||||||
|
fftw = fftwSinglePrec;
|
||||||
|
};
|
||||||
|
|
||||||
timescaledb = callPackage ../servers/sql/postgresql/timescaledb {};
|
timescaledb = callPackage ../servers/sql/postgresql/timescaledb {};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user