listenbrainz-mpd: init at 2.0.2

This commit is contained in:
D Anzorge 2023-02-13 22:04:36 +01:00
parent 1f27152eb5
commit c09076d5d9
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ lib
, rustPlatform
, fetchFromGitea
, pkg-config
, stdenv
, openssl
, libiconv
, Security }:
rustPlatform.buildRustPackage rec {
pname = "listenbrainz-mpd";
version = "2.0.2";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "elomatreb";
repo = "listenbrainz-mpd";
rev = "v${version}";
hash = "sha256-DO7YUqaJZyVWjiAZ9WIVNTTvOU0qdsI2ct7aT/6O5dQ=";
};
cargoHash = "sha256-MiAalxe0drRHrST3maVvi8GM2y3d0z4Zl7R7Zx8VjEM=";
nativeBuildInputs = [ pkg-config ];
buildInputs = if stdenv.isDarwin then [ libiconv Security ] else [ openssl ];
meta = with lib; {
homepage = "https://codeberg.org/elomatreb/listenbrainz-mpd";
changelog = "https://codeberg.org/elomatreb/listenbrainz-mpd/src/tag/v${version}/CHANGELOG.md";
description = "ListenBrainz submission client for MPD";
license = licenses.agpl3Only;
maintainers = with maintainers; [ DeeUnderscore ];
};
}

View File

@ -18093,6 +18093,10 @@ with pkgs;
inherit (darwin.apple_sdk_11_0.frameworks) Virtualization;
};
listenbrainz-mpd = callPackage ../applications/audio/listenbrainz-mpd {
inherit (darwin.apple_sdk.frameworks) Security;
};
lit = callPackage ../development/tools/misc/lit { };
litecli = callPackage ../development/tools/database/litecli {};