Skip to content

Commit

Permalink
add just-a-sample
Browse files Browse the repository at this point in the history
  • Loading branch information
bandithedoge committed Jan 8, 2025
1 parent 05e58ad commit b0cbba9
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
hvcc = callPackage' ./hvcc;
ildaeil = callPackage' ./ildaeil;
js80p = callPackage' ./js80p;
just-a-sample-bin = callPackage' ./just-a-sample-bin;
keepmenu = callPackage' ./keepmenu;
kiwmi = callPackage' ./kiwmi;
lamb = callPackage' ./lamb;
Expand Down
17 changes: 17 additions & 0 deletions pkgs/just-a-sample-bin/_sources/generated.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"just-a-sample-bin": {
"cargoLocks": null,
"date": null,
"extract": null,
"name": "just-a-sample-bin",
"passthru": null,
"pinned": false,
"src": {
"name": null,
"sha256": "sha256-E94eKlubCsIn4TwL4HnU6NJsY7NvrDRBK3LpOGsUgsA=",
"type": "url",
"url": "https://github.com/BOBONA/Just-a-Sample/releases/download/release/Linux.VST3.zip"
},
"version": "release"
}
}
12 changes: 12 additions & 0 deletions pkgs/just-a-sample-bin/_sources/generated.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This file was generated by nvfetcher, please do not modify it manually.
{ fetchgit, fetchurl, fetchFromGitHub, dockerTools }:
{
just-a-sample-bin = {
pname = "just-a-sample-bin";
version = "release";
src = fetchurl {
url = "https://github.com/BOBONA/Just-a-Sample/releases/download/release/Linux.VST3.zip";
sha256 = "sha256-E94eKlubCsIn4TwL4HnU6NJsY7NvrDRBK3LpOGsUgsA=";
};
};
}
29 changes: 29 additions & 0 deletions pkgs/just-a-sample-bin/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
pkgs,
sources,
utils,
...
}:
pkgs.stdenv.mkDerivation {
inherit (sources.just-a-sample-bin) pname version src;
sourceRoot = ".";

nativeBuildInputs = with pkgs; [
autoPatchelfHook
unzip
];

buildInputs = utils.juce.commonBuildInputs;

buildPhase = ''
mkdir -p $out/lib/vst3
cp -r JustASample.vst3 $out/lib/vst3
'';

meta = with pkgs.lib; {
description = "Just a Sample is a modern, open-source audio sampler";
homepage = "https://bobona.github.io/just-a-sample/";
license = licenses.mit;
platforms = platforms.linux;
};
}
3 changes: 3 additions & 0 deletions pkgs/just-a-sample-bin/nvfetcher.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[just-a-sample-bin]
src.github = "BOBONA/Just-a-Sample"
fetch.url = "https://github.com/BOBONA/Just-a-Sample/releases/download/$ver/Linux.VST3.zip"

0 comments on commit b0cbba9

Please sign in to comment.