mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 00:54:11 +00:00
a50424b6f3
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/4wlhzjj8k4a49dvpzgwhll2m03hvvcz9-supercollider-3.9.1/bin/scsynth -v` and found version 3.9.1 - ran `/nix/store/4wlhzjj8k4a49dvpzgwhll2m03hvvcz9-supercollider-3.9.1/bin/supernova -h` got 0 exit code - ran `/nix/store/4wlhzjj8k4a49dvpzgwhll2m03hvvcz9-supercollider-3.9.1/bin/supernova --help` got 0 exit code - ran `/nix/store/4wlhzjj8k4a49dvpzgwhll2m03hvvcz9-supercollider-3.9.1/bin/supernova -v` and found version 3.9.1 - ran `/nix/store/4wlhzjj8k4a49dvpzgwhll2m03hvvcz9-supercollider-3.9.1/bin/supernova --version` and found version 3.9.1 - ran `/nix/store/4wlhzjj8k4a49dvpzgwhll2m03hvvcz9-supercollider-3.9.1/bin/sclang -h` got 0 exit code - ran `/nix/store/4wlhzjj8k4a49dvpzgwhll2m03hvvcz9-supercollider-3.9.1/bin/sclang -v` and found version 3.9.1 - found 3.9.1 with grep in /nix/store/4wlhzjj8k4a49dvpzgwhll2m03hvvcz9-supercollider-3.9.1
40 lines
1 KiB
Nix
40 lines
1 KiB
Nix
{ stdenv, fetchurl, cmake, pkgconfig
|
|
, libjack2, libsndfile, fftw, curl, gcc
|
|
, libXt, qtbase, qttools, qtwebkit, readline
|
|
, useSCEL ? false, emacs
|
|
}:
|
|
|
|
let optional = stdenv.lib.optional;
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "supercollider-${version}";
|
|
version = "3.9.1";
|
|
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/supercollider/supercollider/releases/download/Version-${version}/SuperCollider-${version}-Source-linux.tar.bz2";
|
|
sha256 = "150fgnjcmb06r3pa3mbsvb4iwnqlimjwdxgbs6p55zz6g8wbln7a";
|
|
};
|
|
|
|
hardeningDisable = [ "stackprotector" ];
|
|
|
|
cmakeFlags = ''
|
|
-DSC_WII=OFF
|
|
-DSC_EL=${if useSCEL then "ON" else "OFF"}
|
|
'';
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig qttools ];
|
|
|
|
buildInputs = [
|
|
gcc libjack2 libsndfile fftw curl libXt qtbase qtwebkit readline ]
|
|
++ optional useSCEL emacs;
|
|
|
|
meta = {
|
|
description = "Programming language for real time audio synthesis";
|
|
homepage = http://supercollider.sourceforge.net/;
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|