forked from mirrors/nixpkgs
listenbrainz-mpd: 2.0.2 -> 2.1.0
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
5571b940ae
commit
581c92f09e
|
@ -5,25 +5,26 @@
|
||||||
, stdenv
|
, stdenv
|
||||||
, openssl
|
, openssl
|
||||||
, libiconv
|
, libiconv
|
||||||
|
, sqlite
|
||||||
, Security }:
|
, Security }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "listenbrainz-mpd";
|
pname = "listenbrainz-mpd";
|
||||||
version = "2.0.2";
|
version = "2.1.0";
|
||||||
|
|
||||||
src = fetchFromGitea {
|
src = fetchFromGitea {
|
||||||
domain = "codeberg.org";
|
domain = "codeberg.org";
|
||||||
owner = "elomatreb";
|
owner = "elomatreb";
|
||||||
repo = "listenbrainz-mpd";
|
repo = "listenbrainz-mpd";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-DO7YUqaJZyVWjiAZ9WIVNTTvOU0qdsI2ct7aT/6O5dQ=";
|
hash = "sha256-AalZTlizaw93KlVffFDjGNoKkCHUFQTiElZgJo64shs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-MiAalxe0drRHrST3maVvi8GM2y3d0z4Zl7R7Zx8VjEM=";
|
cargoHash = "sha256-n24P56ZrF8qEpM45uIFr7bJhlzuAexNr6siEsF219uA=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = if stdenv.isDarwin then [ libiconv Security ] else [ openssl ];
|
buildInputs = [ sqlite ] ++ (if stdenv.isDarwin then [ libiconv Security ] else [ openssl ]);
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://codeberg.org/elomatreb/listenbrainz-mpd";
|
homepage = "https://codeberg.org/elomatreb/listenbrainz-mpd";
|
||||||
|
|
Loading…
Reference in a new issue