Merge pull request #266315 from DeeUnderscore/update/listenbrainz-mpd-2.3.1

listenbrainz-mpd: 2.2.0 -> 2.3.1
This commit is contained in:
OTABI Tomoya
2023-11-14 00:09:34 +09:00
committed by GitHub
2 changed files with 30 additions and 7 deletions
@@ -6,25 +6,48 @@
, openssl
, libiconv
, sqlite
, Security }:
, Security
, SystemConfiguration
, CoreFoundation
, installShellFiles
, asciidoctor }:
rustPlatform.buildRustPackage rec {
pname = "listenbrainz-mpd";
version = "2.2.0";
version = "2.3.1";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "elomatreb";
repo = "listenbrainz-mpd";
rev = "v${version}";
hash = "sha256-9o0PsmOkanPcES3y8NvvEOA/lsUU1vtKQAqBQwQtazk=";
hash = "sha256-rI6GBDUzI0pHjULoNKWZ4GKlrtpX/4x6Q1Q+DByNqRs=";
};
cargoHash = "sha256-z7L6VQmCYo4YoEmwrvNU3u3UxnLkAqPgFBqJv4K1N1k=";
cargoHash = "sha256-8/0WkoDxUJz0QoQiDGHTuU7HmiY9nqUNPvztI0xmqvk=";
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ pkg-config installShellFiles asciidoctor ];
buildInputs = [ sqlite ] ++ (if stdenv.isDarwin then [ libiconv Security ] else [ openssl ]);
buildInputs = [ sqlite ] ++ (if stdenv.isDarwin then [
libiconv
Security
SystemConfiguration
CoreFoundation
] else [
openssl
]);
buildFeatures = [ "shell_completion" ];
postInstall = ''
installShellCompletion \
--bash generated_completions/listenbrainz-mpd.bash \
--fish generated_completions/listenbrainz-mpd.fish \
--zsh generated_completions/_listenbrainz-mpd
asciidoctor --backend=manpage listenbrainz-mpd.adoc -o listenbrainz-mpd.1
installManPage listenbrainz-mpd.1
'';
meta = with lib; {
homepage = "https://codeberg.org/elomatreb/listenbrainz-mpd";
+1 -1
View File
@@ -19554,7 +19554,7 @@ with pkgs;
};
listenbrainz-mpd = callPackage ../applications/audio/listenbrainz-mpd {
inherit (darwin.apple_sdk.frameworks) Security;
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration CoreFoundation;
};
lit = with python3Packages; toPythonApplication lit;