Skip to content

Commit

Permalink
sbagen: Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
dezgeg committed Mar 6, 2017
1 parent 4da7f83 commit 064a1e0
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions pkgs/applications/misc/sbagen/default.nix
@@ -1,9 +1,16 @@
{ stdenv, fetchurl }:

stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "sbagen-1.4.4";

buildPhases = "buildPhase installPhase";
src = fetchurl {
url = "http://uazu.net/sbagen/${name}.tgz";
sha256 = "0w62yk1b0hq79kl0angma897yqa8p1ww0dwydf3zlwav333prkd2";
};

postPatch = ''
patchShebangs ./mk
'';

buildPhase = "./mk";

Expand All @@ -14,14 +21,10 @@ stdenv.mkDerivation {
cp --target-directory=$out/share/sbagen/doc README.txt SBAGEN.txt theory{,2}.txt {wave,holosync,focus,TODO}.txt
'';

src = fetchurl {
url = http://uazu.net/sbagen/sbagen-1.4.4.tgz;
sha256 = "0w62yk1b0hq79kl0angma897yqa8p1ww0dwydf3zlwav333prkd2";
};

meta = {
meta = {
description = "Binaural sound generator";
homepage = http://uazu.net/sbagen;
license = "GPL";
platforms = [ "i686-linux" ];
};
}

0 comments on commit 064a1e0

Please sign in to comment.