deezer-enhanced: init at 1.3.0 (#424686)
This commit is contained in:
commit
034c0f3a92
@ -16702,6 +16702,12 @@
|
|||||||
githubId = 92937;
|
githubId = 92937;
|
||||||
name = "Breland Miley";
|
name = "Breland Miley";
|
||||||
};
|
};
|
||||||
|
minegameYTB = {
|
||||||
|
name = "Minegame YTB";
|
||||||
|
github = "minegameYTB";
|
||||||
|
githubId = 53137994;
|
||||||
|
matrix = "@minegame2018:matrix.org";
|
||||||
|
};
|
||||||
minersebas = {
|
minersebas = {
|
||||||
email = "scherthan_sebastian@web.de";
|
email = "scherthan_sebastian@web.de";
|
||||||
github = "MinerSebas";
|
github = "MinerSebas";
|
||||||
|
|||||||
129
pkgs/by-name/de/deezer-enhanced/package.nix
Normal file
129
pkgs/by-name/de/deezer-enhanced/package.nix
Normal file
@ -0,0 +1,129 @@
|
|||||||
|
{
|
||||||
|
### Tools
|
||||||
|
lib,
|
||||||
|
stdenvNoCC,
|
||||||
|
fetchurl,
|
||||||
|
makeWrapper,
|
||||||
|
autoPatchelfHook,
|
||||||
|
dpkg,
|
||||||
|
gnutar,
|
||||||
|
|
||||||
|
### Libs
|
||||||
|
xorg,
|
||||||
|
libxkbcommon,
|
||||||
|
glib,
|
||||||
|
nss,
|
||||||
|
dbus,
|
||||||
|
at-spi2-atk,
|
||||||
|
cups,
|
||||||
|
gtk3,
|
||||||
|
pango,
|
||||||
|
cairo,
|
||||||
|
expat,
|
||||||
|
systemdLibs,
|
||||||
|
alsa-lib,
|
||||||
|
nwjs,
|
||||||
|
libGL,
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenvNoCC.mkDerivation rec {
|
||||||
|
pname = "deezer-enhanced";
|
||||||
|
version = "1.3.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/duzda/deezer-enhanced/releases/download/v${version}/deezer-enhanced_${version}_amd64.deb";
|
||||||
|
hash = "sha256-zHgrLzPByAPww0aSEDETsddX71O/GU80AZH729YjQQ0=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
### To unpack deezer-enhanced
|
||||||
|
dpkg
|
||||||
|
gnutar
|
||||||
|
|
||||||
|
makeWrapper
|
||||||
|
autoPatchelfHook
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
|
||||||
|
### Xorg libs
|
||||||
|
xorg.libX11
|
||||||
|
xorg.libXcomposite
|
||||||
|
xorg.libXdamage
|
||||||
|
xorg.libXext
|
||||||
|
xorg.libXfixes
|
||||||
|
xorg.libXrandr
|
||||||
|
xorg.libxcb
|
||||||
|
|
||||||
|
### Systemd libs
|
||||||
|
systemdLibs
|
||||||
|
dbus
|
||||||
|
|
||||||
|
### Other libs
|
||||||
|
libxkbcommon
|
||||||
|
nss
|
||||||
|
glib
|
||||||
|
at-spi2-atk
|
||||||
|
cups
|
||||||
|
gtk3
|
||||||
|
libGL
|
||||||
|
nwjs # For libffmpeg.so
|
||||||
|
];
|
||||||
|
|
||||||
|
unpackPhase = ''
|
||||||
|
runHook preUnpack
|
||||||
|
|
||||||
|
dpkg-deb --fsys-tarfile $src | tar --no-same-owner --no-same-permissions -xvf -
|
||||||
|
|
||||||
|
runHook postUnpack
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
### Create directory and copy files
|
||||||
|
mkdir -p $out
|
||||||
|
mv usr/* $out
|
||||||
|
|
||||||
|
### Wrap deezer-enhanced to include all libraries in the environment
|
||||||
|
wrapProgram $out/bin/${pname} \
|
||||||
|
--set LD_LIBRARY_PATH ${
|
||||||
|
lib.makeLibraryPath [
|
||||||
|
### Xorg libs
|
||||||
|
xorg.libX11
|
||||||
|
xorg.libXcomposite
|
||||||
|
xorg.libXdamage
|
||||||
|
xorg.libXext
|
||||||
|
xorg.libXfixes
|
||||||
|
xorg.libXrandr
|
||||||
|
xorg.libxcb
|
||||||
|
|
||||||
|
### Systemd libs
|
||||||
|
systemdLibs
|
||||||
|
dbus
|
||||||
|
|
||||||
|
### Other libs
|
||||||
|
libxkbcommon
|
||||||
|
nss
|
||||||
|
glib
|
||||||
|
at-spi2-atk
|
||||||
|
cups
|
||||||
|
gtk3
|
||||||
|
nwjs
|
||||||
|
libGL
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/duzda/deezer-enhanced";
|
||||||
|
changelog = "https://github.com/duzda/deezer-enhanced/releases/tag/v${version}";
|
||||||
|
description = "Unofficial application for Deezer with enhanced features";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
mainProgram = "deezer-enhanced";
|
||||||
|
maintainers = with lib.maintainers; [ minegameYTB ];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user