listenbrainz-mpd: init at 2.0.2
This commit is contained in:
parent
1f27152eb5
commit
c09076d5d9
35
pkgs/applications/audio/listenbrainz-mpd/default.nix
Normal file
35
pkgs/applications/audio/listenbrainz-mpd/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user