attempt at a nix package
parent
9c9ca04763
commit
22fcbb59c1
@ -0,0 +1,52 @@
|
|||||||
|
{
|
||||||
|
lib
|
||||||
|
stdenv # do I need this? assuming for nix-shell
|
||||||
|
fetchurl,
|
||||||
|
runtimeSHell, # do I need this? assuming for nix-shell
|
||||||
|
|
||||||
|
cmake,
|
||||||
|
clang,
|
||||||
|
libcxx,
|
||||||
|
python312Packages.jinja2,
|
||||||
|
python312Packages.docutils,
|
||||||
|
python312Packages.pyaml,
|
||||||
|
python312Packages.schema,
|
||||||
|
}:
|
||||||
|
|
||||||
|
mkDerivation rec {
|
||||||
|
pname = "Flucoma-sc";
|
||||||
|
version = "1.0.8";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/flucoma/flucoma-sc/archive/refs/tags/${version}.tar.gz";
|
||||||
|
sha256 = "sha256-1phf1p40m20qlq0vivfinl2985ha8a1qhp3ixwfd5r8gjw7pbxs3";
|
||||||
|
};
|
||||||
|
|
||||||
|
# patches = [];
|
||||||
|
# postPatch = '';
|
||||||
|
# strictDeps = true;
|
||||||
|
# nativeBuildInputs
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
cmake,
|
||||||
|
clang,
|
||||||
|
libcxx,
|
||||||
|
python312Packages.jinja2,
|
||||||
|
python312Packages.docutils,
|
||||||
|
python312Packages.pyaml,
|
||||||
|
python312Packages.schema,
|
||||||
|
];
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DSC_PATH=${scSource}"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description ="Fluid Corpus Manipulation plugins for Supercollider";
|
||||||
|
homepage = "https://www.flucoma.org";
|
||||||
|
changelog = "";
|
||||||
|
maintainers = ["Leonard Francis Coogan"];
|
||||||
|
license = licenses.bsd3;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
||||||
@ -0,0 +1,25 @@
|
|||||||
|
{pkgs ? import <nixpkgs> {} }:
|
||||||
|
|
||||||
|
/*
|
||||||
|
let
|
||||||
|
scSource = pkgs.supercollider.src;
|
||||||
|
in
|
||||||
|
*/
|
||||||
|
|
||||||
|
pkgs.mkShell {
|
||||||
|
buildInputs = [
|
||||||
|
pkgs.cmake
|
||||||
|
pkgs.clang
|
||||||
|
pkgs.libcxx
|
||||||
|
pkgs.fftw
|
||||||
|
pkgs.python312Packages.jinja2
|
||||||
|
pkgs.python312Packages.docutils
|
||||||
|
pkgs.python312Packages.pyaml
|
||||||
|
pkgs.python312Packages.schema
|
||||||
|
];
|
||||||
|
|
||||||
|
shellHook = ''
|
||||||
|
export SC_PATH="${scSource}"
|
||||||
|
export INSTALL_PREFIX="~/.local/share/SuperCollider/Extensions"
|
||||||
|
'';
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue