mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
42 lines
1.1 KiB
Nix
42 lines
1.1 KiB
Nix
{ stdenv, fetchurl, cmake, pkg-config, alsaLib
|
|
, libjack2, libsndfile, fftw, curl, gcc
|
|
, libXt, qtbase, qttools, qtwebengine
|
|
, readline, qtwebsockets, useSCEL ? false, emacs
|
|
}:
|
|
|
|
let optional = stdenv.lib.optional;
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "supercollider";
|
|
version = "3.11.2";
|
|
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/supercollider/supercollider/releases/download/Version-${version}/SuperCollider-${version}-Source.tar.bz2";
|
|
sha256 = "wiwyxrxIJnHU+49RZy33Etl6amJ3I1xNojEpEDA6BQY=";
|
|
};
|
|
|
|
hardeningDisable = [ "stackprotector" ];
|
|
|
|
cmakeFlags = [
|
|
"-DSC_WII=OFF"
|
|
"-DSC_EL=${if useSCEL then "ON" else "OFF"}"
|
|
];
|
|
|
|
nativeBuildInputs = [ cmake pkg-config qttools ];
|
|
|
|
buildInputs = [
|
|
gcc libjack2 libsndfile fftw curl libXt qtbase qtwebengine qtwebsockets readline ]
|
|
++ optional (!stdenv.isDarwin) alsaLib
|
|
++ optional useSCEL emacs;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Programming language for real time audio synthesis";
|
|
homepage = "https://supercollider.github.io";
|
|
maintainers = with maintainers; [ mrmebelman ];
|
|
license = licenses.gpl3;
|
|
platforms = [ "x686-linux" "x86_64-linux" ];
|
|
};
|
|
}
|