sayonara: 1.6.0-beta6 -> 1.6.0-beta7, add python & update script
This commit is contained in:
parent
a97f6bbcc4
commit
f028bddd42
|
@ -1,6 +1,7 @@
|
|||
{ mkDerivation
|
||||
, cmake
|
||||
, fetchFromGitLab
|
||||
, nix-update-script
|
||||
, gst_all_1
|
||||
, lib
|
||||
, libpulseaudio
|
||||
|
@ -11,17 +12,23 @@
|
|||
, qttools
|
||||
, taglib
|
||||
, zlib
|
||||
, python3
|
||||
}:
|
||||
|
||||
let
|
||||
py = python3.withPackages (ps: with ps; [
|
||||
pydbus
|
||||
]);
|
||||
in
|
||||
mkDerivation rec {
|
||||
pname = "sayonara-player";
|
||||
version = "1.6.0-beta6";
|
||||
pname = "sayonara";
|
||||
version = "1.6.0-beta7";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "luciocarreras";
|
||||
repo = "sayonara-player";
|
||||
rev = version;
|
||||
sha256 = "sha256-SbJS0DQvbW++CNXbuDHQxFlLRb1kTtDdIdHOqu0YxeQ=";
|
||||
sha256 = "14svszfldx32vn937rszd21rgl31vb5kzs0hnrg41ygx0br61rvd";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ninja pkg-config qttools ];
|
||||
|
@ -32,6 +39,7 @@ mkDerivation rec {
|
|||
qtbase
|
||||
taglib
|
||||
zlib
|
||||
py
|
||||
]
|
||||
++ (with gst_all_1; [
|
||||
gstreamer
|
||||
|
@ -54,6 +62,12 @@ mkDerivation rec {
|
|||
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/";
|
||||
|
|
Loading…
Reference in New Issue