uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
78
pkgs/applications/audio/sayonara/default.nix
Normal file
78
pkgs/applications/audio/sayonara/default.nix
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
{ mkDerivation
|
||||
, cmake
|
||||
, fetchFromGitLab
|
||||
, nix-update-script
|
||||
, gst_all_1
|
||||
, lib
|
||||
, libpulseaudio
|
||||
, ninja
|
||||
, pcre
|
||||
, pkg-config
|
||||
, qtbase
|
||||
, qttools
|
||||
, taglib
|
||||
, zlib
|
||||
, python3
|
||||
}:
|
||||
|
||||
let
|
||||
py = python3.withPackages (ps: with ps; [
|
||||
pydbus
|
||||
]);
|
||||
in
|
||||
mkDerivation rec {
|
||||
pname = "sayonara";
|
||||
version = "1.7.0-stable3";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "luciocarreras";
|
||||
repo = "sayonara-player";
|
||||
rev = version;
|
||||
sha256 = "sha256-tJ/8tGNkmTwWRCpPy/h85SP/6QDAgcaKWJdM5MSAXJw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ninja pkg-config qttools ];
|
||||
|
||||
buildInputs = [
|
||||
libpulseaudio
|
||||
pcre
|
||||
qtbase
|
||||
taglib
|
||||
zlib
|
||||
py
|
||||
]
|
||||
++ (with gst_all_1; [
|
||||
gstreamer
|
||||
gst-plugins-base
|
||||
gst-plugins-good
|
||||
gst-plugins-bad
|
||||
gst-plugins-ugly
|
||||
]);
|
||||
|
||||
# we carry the patched taglib 1.11.1 that doesn't break ogg but sayonara just
|
||||
# checks for the version
|
||||
cmakeFlags = [
|
||||
"-DWITH_SYSTEM_TAGLIB=ON"
|
||||
];
|
||||
|
||||
# gstreamer cannot otherwise be found
|
||||
NIX_CFLAGS_COMPILE = "-I${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0";
|
||||
|
||||
postInstall = ''
|
||||
qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script {
|
||||
attrPath = pname;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Sayonara music player";
|
||||
homepage = "https://sayonara-player.com/";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ deepfire ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue