2021-10-24 09:10:47 +01:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
2019-03-16 04:52:48 +00:00
|
|
|
, fetchFromGitHub
|
2021-10-24 09:10:47 +01:00
|
|
|
, meson
|
|
|
|
, ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2019-03-16 04:52:48 +00:00
|
|
|
, gupnp
|
|
|
|
}:
|
2017-08-30 23:22:49 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-05-28 13:59:57 +01:00
|
|
|
pname = "dleyna-core";
|
2021-10-24 09:10:47 +01:00
|
|
|
version = "0.7.0";
|
2017-08-30 23:22:49 +01:00
|
|
|
|
2021-10-13 17:40:00 +01:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2019-03-16 04:52:48 +00:00
|
|
|
setupHook = ./setup-hook.sh;
|
|
|
|
|
2017-08-30 23:22:49 +01:00
|
|
|
src = fetchFromGitHub {
|
2021-10-24 09:10:47 +01:00
|
|
|
owner = "phako";
|
2018-05-28 13:59:57 +01:00
|
|
|
repo = pname;
|
2017-08-30 23:22:49 +01:00
|
|
|
rev = "v${version}";
|
2021-10-24 09:10:47 +01:00
|
|
|
sha256 = "i4L9+iyAdBNtgImbD54jkjYL5hvzeZ2OaAyFrcFmuG0=";
|
2017-08-30 23:22:49 +01:00
|
|
|
};
|
|
|
|
|
2019-03-16 04:52:48 +00:00
|
|
|
nativeBuildInputs = [
|
2021-10-24 09:10:47 +01:00
|
|
|
meson
|
|
|
|
ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-03-16 04:52:48 +00:00
|
|
|
];
|
2017-08-30 23:22:49 +01:00
|
|
|
|
2019-03-16 04:52:48 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
gupnp
|
|
|
|
];
|
2017-08-30 23:22:49 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2017-08-30 23:22:49 +01:00
|
|
|
description = "Library of utility functions that are used by the higher level dLeyna";
|
2021-10-24 09:10:47 +01:00
|
|
|
homepage = "https://github.com/phako/dleyna-core";
|
|
|
|
maintainers = with maintainers; [ jtojnar ];
|
2017-08-30 23:22:49 +01:00
|
|
|
platforms = platforms.linux;
|
2021-10-24 09:10:47 +01:00
|
|
|
license = licenses.lgpl21Only;
|
2017-08-30 23:22:49 +01:00
|
|
|
};
|
|
|
|
}
|