2021-10-24 08:15:55 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, fetchFromGitHub
|
|
|
|
, dleyna-core
|
|
|
|
, glib
|
|
|
|
}:
|
2017-08-30 22:23:30 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-05-28 12:59:57 +00:00
|
|
|
pname = "dleyna-connector-dbus";
|
2021-10-24 08:15:55 +00:00
|
|
|
version = "0.4.1";
|
2017-08-30 22:23:30 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-10-24 08:15:55 +00:00
|
|
|
owner = "phako";
|
2018-05-28 12:59:57 +00:00
|
|
|
repo = pname;
|
2021-10-24 08:15:55 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "WDmymia9MD3BRU6BOCzCIMrz9V0ACRzmEGqjbbuUmlA=";
|
2017-08-30 22:23:30 +00:00
|
|
|
};
|
|
|
|
|
2021-10-24 08:15:55 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
dleyna-core
|
|
|
|
glib
|
|
|
|
];
|
2017-08-30 22:23:30 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2017-08-30 22:23:30 +00:00
|
|
|
description = "A D-Bus API for the dLeyna services";
|
2021-10-24 08:15:55 +00:00
|
|
|
homepage = "https://github.com/phako/dleyna-connector-dbus";
|
|
|
|
maintainers = with maintainers; [ jtojnar ];
|
2022-10-20 01:04:25 +00:00
|
|
|
platforms = platforms.unix;
|
2021-10-24 08:15:55 +00:00
|
|
|
license = licenses.lgpl21Only;
|
2017-08-30 22:23:30 +00:00
|
|
|
};
|
|
|
|
}
|