2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config
|
2021-06-10 02:57:09 +00:00
|
|
|
, alsa-lib, fftw, gsl, motif, xorg
|
2014-01-09 07:24:11 +00:00
|
|
|
}:
|
2007-11-03 04:15:13 +00:00
|
|
|
|
2014-01-09 07:24:11 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-02-13 17:30:28 +00:00
|
|
|
pname = "snd";
|
|
|
|
version = "21.1";
|
2014-01-09 07:24:11 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-02-13 17:30:28 +00:00
|
|
|
url = "mirror://sourceforge/snd/snd-${version}.tar.gz";
|
|
|
|
sha256 = "1jxvpgx1vqa6bwdzlzyzrjn2swjf9nfhzi9r1r96ivi0870vvjk3";
|
2014-01-09 07:24:11 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2014-01-09 07:24:11 +00:00
|
|
|
|
2021-06-10 02:57:09 +00:00
|
|
|
buildInputs = [ alsa-lib fftw gsl motif ]
|
2021-02-13 17:30:28 +00:00
|
|
|
++ (with xorg; [ libXext libXft libXpm libXt ]);
|
2014-09-21 18:40:17 +00:00
|
|
|
|
2021-02-13 17:30:28 +00:00
|
|
|
configureFlags = [ "--with-motif" ];
|
2014-09-21 18:40:17 +00:00
|
|
|
|
2021-02-13 17:30:28 +00:00
|
|
|
enableParallelBuilding = true;
|
2014-09-21 18:40:17 +00:00
|
|
|
|
2021-02-13 17:30:28 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Sound editor";
|
|
|
|
homepage = "https://ccrma.stanford.edu/software/snd/";
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.free;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
};
|
2007-11-03 04:15:13 +00:00
|
|
|
}
|