mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
tonelib-jam: 4.7.8 -> 4.8.7
This commit is contained in:
parent
1a142a02e3
commit
4b90792003
1 changed files with 14 additions and 11 deletions
|
@ -17,11 +17,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "tonelib-jam";
|
pname = "tonelib-jam";
|
||||||
version = "4.7.8";
|
version = "4.8.7";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://tonelib.net/download/221222/ToneLib-Jam-amd64.deb";
|
url = "https://tonelib.vip/download/24-10-24/ToneLib-Jam-amd64.deb";
|
||||||
sha256 = "sha256-c6At2lRPngQPpE7O+VY/Hsfw+QfIb3COIuHfbqqIEuM=";
|
hash = "sha256-qBCEaV9uw6HHJYK+8AK+JYQK375cY0Ae3gxiQ0+sAg4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -45,19 +45,22 @@ stdenv.mkDerivation rec {
|
||||||
libjack2
|
libjack2
|
||||||
];
|
];
|
||||||
|
|
||||||
unpackCmd = "dpkg -x $curSrc source";
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mv usr $out
|
runHook preInstall
|
||||||
substituteInPlace $out/share/applications/ToneLib-Jam.desktop --replace /usr/ $out/
|
|
||||||
|
cp -r usr $out
|
||||||
|
substituteInPlace $out/share/applications/ToneLib-Jam.desktop \
|
||||||
|
--replace-fail "/usr/" "$out/"
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "ToneLib Jam – the learning and practice software for guitar players";
|
description = "ToneLib Jam – the learning and practice software for guitar players";
|
||||||
homepage = "https://tonelib.net/";
|
homepage = "https://tonelib.net/";
|
||||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||||
license = licenses.unfree;
|
license = lib.licenses.unfree;
|
||||||
maintainers = with maintainers; [ dan4ik605743 ];
|
maintainers = with lib.maintainers; [ dan4ik605743 ];
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = [ "x86_64-linux" ];
|
||||||
mainProgram = "ToneLib-Jam";
|
mainProgram = "ToneLib-Jam";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue