listenbrainz-mpd: 2.2.0 -> 2.3.1
https://codeberg.org/elomatreb/listenbrainz-mpd/src/tag/v2.3.1/CHANGELOG.md#2-3-1-2023-11-02
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -19556,7 +19556,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;
|
||||
|
||||
Reference in New Issue
Block a user