Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 42 additions & 40 deletions pkgs/by-name/vc/vcv-rack/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ let
pffft-source = fetchFromBitbucket {
owner = "jpommier";
repo = "pffft";
rev = "fbc4058602803f40dc554b8a5d2bcc694c005f2f";
sha256 = "16biji3115232cr1j975hpxw68lfybajlspnhfjcwg8jz2d8ybrf";
rev = "d7a4c0206a29423478776d6b23a37bbb308f21d5";
sha256 = "sha256-Ohh0H8O6yhPs6VkuRjbolEVYsGskCrDsnbZm5IuUSPI=";
};
fuzzysearchdatabase-source = fetchFromBitbucket {
owner = "j_norberg";
Expand All @@ -55,14 +55,14 @@ let
nanosvg-source = fetchFromGitHub {
owner = "memononen";
repo = "nanosvg";
rev = "9da543e8329fdd81b64eb48742d8ccb09377aed1";
sha256 = "1pkzv75kavkhrbdd2kvq755jyr0vamgrfr7lc33dq3ipkzmqvs2l";
rev = "ea6a6aca009422bba0dbad4c80df6e6ba0c82183";
sha256 = "sha256-QCjfaSm1/hstVGzkJc0gFnYhnU5I3oHSCTkAVG5gTt8=";
};
osdialog-source = fetchFromGitHub {
owner = "AndrewBelt";
repo = "osdialog";
rev = "d0f64f0798c2e47f61d90a5505910ff2d63ca049";
sha256 = "1d3058x6wgzw7b0wai792flk7s6ffw0z4n9sl016v91yjwv7ds3a";
rev = "0250d6696277c8c586ba68770b1aac614addc71a";
sha256 = "sha256-SXBtgnxy89xh0ylpOwFbAbKQntmUwpdnD7m2pSPmh2o=";
};
oui-blendish-source = fetchFromGitHub {
owner = "VCVRack";
Expand All @@ -73,8 +73,8 @@ let
simde-source = fetchFromGitHub {
owner = "simd-everywhere";
repo = "simde";
rev = "416091ebdb9e901b29d026633e73167d6353a0b0";
sha256 = "064ygc6c737yjx04rydwwhkr4n4s4rbvj27swxwyzvp1h8nka6xf";
rev = "51743e7920b6e867678cb50e9c62effe28f70b33";
sha256 = "sha256-AR/TiSYQgW2bUJl5v1JfCzau7WjTSbNHWJMZd4m/AN8=";
};
tinyexpr-source = fetchFromGitHub {
owner = "codeplea";
Expand All @@ -85,18 +85,18 @@ let
fundamental-source = fetchFromGitHub {
owner = "VCVRack";
repo = "Fundamental";
rev = "5ed79544161e0fa9a55faa7c0a5f299e828e12ab"; # tip of branch v2
sha256 = "0c6qpigyr0ppvra20hcy1fdcmqa212jckb9wkx4f6fgdby7565wv";
rev = "d12b22a170f2b4e7940572ac13ad24869f8ea806"; # tip of branch v2
sha256 = "sha256-GK7FqdsFnUkNOfYp2RRWeCyiWv95bqm+LOMeXyueBgo=";
};
vcv-rtaudio = stdenv.mkDerivation {
pname = "vcv-rtaudio";
version = "unstable-2020-01-30";
version = "unstable-2024-12-22";

src = fetchFromGitHub {
owner = "VCVRack";
repo = "rtaudio";
rev = "ece277bd839603648c80c8a5f145678e13bc23f3"; # tip of master branch
sha256 = "11gpl0ak757ilrq4fi0brj0chmlcr1hihc32yd7qza4fxjw2yx2v";
rev = "22d64cdcb151e388791caceee8aa0011a6aa46e0"; # tip of master branch
sha256 = "sha256-BW5XwbsuwbbFDHXnQrUMM+1p7Zy7zjwdHHQFGo2XMv0=";
};

nativeBuildInputs = [
Expand All @@ -118,33 +118,15 @@ let
];
};
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "vcv-rack";
version = "2.6.0";

desktopItems = [
(makeDesktopItem {
type = "Application";
name = pname;
desktopName = "VCV Rack";
genericName = "Eurorack simulator";
comment = "Create music by patching together virtual synthesizer modules";
exec = "Rack";
icon = "Rack";
categories = [
"AudioVideo"
"AudioVideoEditing"
"Audio"
];
keywords = [ "music" ];
})
];
version = "2.6.4";

src = fetchFromGitHub {
owner = "VCVRack";
repo = "Rack";
tag = "v${version}";
hash = "sha256-leI0wwhYiA8qktJFe6DuZjs6q5tMFQ4WFLD4Ivom5+E=";
tag = "v${finalAttrs.version}";
hash = "sha256-WRDOL/nnAv7kR9L6NImZDZqdN3jhz5+bVWjq5ZZzQCc=";
};

patches = [
Expand Down Expand Up @@ -197,6 +179,7 @@ stdenv.mkDerivation rec {
pkg-config
wrapGAppsHook3
];

buildInputs = [
alsa-lib
curl
Expand Down Expand Up @@ -257,22 +240,41 @@ stdenv.mkDerivation rec {
--add-flags "-s $out/share/vcv-rack"
'';

meta = with lib; {
desktopItems = [
(makeDesktopItem {
type = "Application";
name = finalAttrs.pname;
desktopName = "VCV Rack";
genericName = "Eurorack simulator";
comment = "Create music by patching together virtual synthesizer modules";
exec = "Rack";
icon = "Rack";
categories = [
"AudioVideo"
"AudioVideoEditing"
"Audio"
];
keywords = [ "music" ];
})
];

meta = {
description = "Open-source virtual modular synthesizer";
homepage = "https://vcvrack.com/";
changelog = "https://github.com/VCVRack/Rack/blob/v${finalAttrs.version}/CHANGELOG.md";
# The source is GPL3+ licensed, some of the art is CC-BY-NC 4.0 or under a
# no-derivatives clause
license = with licenses; [
license = with lib.licenses; [
gpl3Plus
cc-by-nc-40
unfreeRedistributable
];
maintainers = with maintainers; [
maintainers = with lib.maintainers; [
nathyong
jpotier
ddelabru
];
mainProgram = "Rack";
platforms = platforms.linux;
platforms = lib.platforms.linux;
};
}
})
Loading