delfin: add an updateScript
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
, cargo
|
, cargo
|
||||||
, desktop-file-utils
|
, desktop-file-utils
|
||||||
, fetchFromGitea
|
, fetchFromGitea
|
||||||
|
, gitUpdater
|
||||||
, gtk4
|
, gtk4
|
||||||
, libadwaita
|
, libadwaita
|
||||||
, libglvnd
|
, libglvnd
|
||||||
@@ -36,6 +37,10 @@ stdenv.mkDerivation rec {
|
|||||||
hash = "sha256-jHXkpfNWs07WSnxWSEvSX6HFx3e3YOWGsYEs7lJcAds=";
|
hash = "sha256-jHXkpfNWs07WSnxWSEvSX6HFx3e3YOWGsYEs7lJcAds=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# upstream pins the linker to clang, unnecessarily
|
||||||
|
postPatch = ''
|
||||||
|
rm .cargo/config.toml
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
appstream
|
appstream
|
||||||
@@ -62,10 +67,9 @@ stdenv.mkDerivation rec {
|
|||||||
"-Dprofile=release"
|
"-Dprofile=release"
|
||||||
];
|
];
|
||||||
|
|
||||||
# upstream pins the linker to clang, unnecessarily
|
passthru.updateScript = gitUpdater {
|
||||||
postPatch = ''
|
rev-prefix = "v";
|
||||||
rm .cargo/config.toml
|
};
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "stream movies and TV shows from Jellyfin";
|
description = "stream movies and TV shows from Jellyfin";
|
||||||
|
Reference in New Issue
Block a user