2010-07-28 13:55:54 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
2008-01-30 18:20:48 +01:00
|
|
|
stdenv.mkDerivation {
|
2007-09-12 12:56:56 +02:00
|
|
|
name = "sbagen-1.4.4";
|
|
|
|
|
2010-07-28 13:55:54 +02:00
|
|
|
buildPhases = "buildPhase installPhase";
|
2007-09-12 12:56:56 +02:00
|
|
|
|
2010-07-28 13:55:54 +02:00
|
|
|
buildPhase = "./mk";
|
2007-09-12 12:56:56 +02:00
|
|
|
|
2010-07-28 13:55:54 +02:00
|
|
|
installPhase = ''
|
|
|
|
ensureDir $out/{bin,share/sbagen/doc}
|
|
|
|
cp -r --target-directory=$out/share/sbagen examples scripts river1.ogg river2.ogg
|
2007-09-12 12:56:56 +02:00
|
|
|
cp sbagen $out/bin
|
2010-07-28 13:55:54 +02:00
|
|
|
cp --target-directory=$out/share/sbagen/doc README.txt SBAGEN.txt theory{,2}.txt {wave,holosync,focus,TODO}.txt
|
|
|
|
'';
|
2007-09-12 12:56:56 +02:00
|
|
|
|
2008-01-30 18:20:48 +01:00
|
|
|
src = fetchurl {
|
2007-09-12 12:56:56 +02:00
|
|
|
url = http://uazu.net/sbagen/sbagen-1.4.4.tgz;
|
|
|
|
sha256 = "0w62yk1b0hq79kl0angma897yqa8p1ww0dwydf3zlwav333prkd2";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
2010-07-28 13:55:54 +02:00
|
|
|
description = "Binaural sound generator";
|
|
|
|
homepage = http://uazu.net/sbagen;
|
|
|
|
license = "GPL";
|
|
|
|
};
|
2007-09-12 12:56:56 +02:00
|
|
|
}
|