mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
35 lines
861 B
Nix
35 lines
861 B
Nix
{ lib, stdenv, fetchurl, pkg-config
|
|
, alsa-lib, fftw, gsl, motif, xorg
|
|
, CoreServices, CoreMIDI
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "snd";
|
|
version = "24.5";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/snd/snd-${version}.tar.gz";
|
|
sha256 = "sha256-Y497KAlUXtWhkrCd1QrqJkvWGwnzZfYRKaALiEo/7EI=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ fftw gsl motif ]
|
|
++ lib.optionals stdenv.isLinux [ alsa-lib ]
|
|
++ lib.optionals stdenv.isDarwin [ CoreServices CoreMIDI ]
|
|
++ (with xorg; [ libXext libXft libXpm libXt ]);
|
|
|
|
configureFlags = [ "--with-motif" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "Sound editor";
|
|
homepage = "https://ccrma.stanford.edu/software/snd/";
|
|
platforms = platforms.unix;
|
|
license = licenses.free;
|
|
maintainers = [ ];
|
|
mainProgram = "snd";
|
|
};
|
|
}
|