nixpkgs/pkgs/applications/audio/snd/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
879 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config
, alsa-lib, fftw, gsl, motif, xorg
2021-10-28 23:29:00 +00:00
, CoreServices, CoreMIDI
2014-01-09 07:24:11 +00:00
}:
2014-01-09 07:24:11 +00:00
stdenv.mkDerivation rec {
pname = "snd";
2024-03-12 02:26:18 +00:00
version = "24.2";
2014-01-09 07:24:11 +00:00
src = fetchurl {
url = "mirror://sourceforge/snd/snd-${version}.tar.gz";
2024-03-12 02:26:18 +00:00
sha256 = "sha256-1ngnhOpPaRGH3xmiA7cUfVDqlJM1ZC+XfeSiV8vcdls=";
2014-01-09 07:24:11 +00:00
};
nativeBuildInputs = [ pkg-config ];
2014-01-09 07:24:11 +00:00
2021-10-28 23:29:00 +00:00
buildInputs = [ fftw gsl motif ]
++ lib.optionals stdenv.isLinux [ alsa-lib ]
++ lib.optionals stdenv.isDarwin [ CoreServices CoreMIDI ]
++ (with xorg; [ libXext libXft libXpm libXt ]);
2014-09-21 18:40:17 +00:00
configureFlags = [ "--with-motif" ];
2014-09-21 18:40:17 +00:00
enableParallelBuilding = true;
2014-09-21 18:40:17 +00:00
meta = with lib; {
description = "Sound editor";
homepage = "https://ccrma.stanford.edu/software/snd/";
platforms = platforms.unix;
license = licenses.free;
maintainers = with maintainers; [ ];
2024-02-11 02:19:15 +00:00
mainProgram = "snd";
};
}