Files
nixpkgs/pkgs/by-name/to/tonelib-jam/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

69 lines
1.2 KiB
Nix
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
lib,
stdenv,
fetchurl,
autoPatchelfHook,
dpkg,
alsa-lib,
freetype,
libglvnd,
curl,
libXcursor,
libXinerama,
libXrandr,
libXrender,
libjack2,
}:
stdenv.mkDerivation rec {
pname = "tonelib-jam";
version = "4.8.7";
src = fetchurl {
url = "https://tonelib.vip/download/24-10-24/ToneLib-Jam-amd64.deb";
hash = "sha256-qBCEaV9uw6HHJYK+8AK+JYQK375cY0Ae3gxiQ0+sAg4=";
};
nativeBuildInputs = [
autoPatchelfHook
dpkg
];
buildInputs = [
(lib.getLib stdenv.cc.cc)
alsa-lib
freetype
libglvnd
]
++ runtimeDependencies;
runtimeDependencies = map lib.getLib [
curl
libXcursor
libXinerama
libXrandr
libXrender
libjack2
];
installPhase = ''
runHook preInstall
cp -r usr $out
substituteInPlace $out/share/applications/ToneLib-Jam.desktop \
--replace-fail "/usr/" "$out/"
runHook postInstall
'';
meta = {
description = "ToneLib Jam the learning and practice software for guitar players";
homepage = "https://tonelib.net/";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = lib.licenses.unfree;
maintainers = [ ];
platforms = [ "x86_64-linux" ];
mainProgram = "ToneLib-Jam";
};
}