2017-08-30 23:22:49 +01:00
|
|
|
{ stdenv, autoreconfHook, pkgconfig, fetchFromGitHub, gupnp }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-05-28 13:59:57 +01:00
|
|
|
pname = "dleyna-core";
|
|
|
|
name = "${pname}-${version}";
|
2017-08-30 23:22:49 +01:00
|
|
|
version = "0.6.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "01org";
|
2018-05-28 13:59:57 +01:00
|
|
|
repo = pname;
|
2017-08-30 23:22:49 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1x5vj5zfk95avyg6g3nf6gar250cfrgla2ixj2ifn8pcick2d9vq";
|
|
|
|
};
|
|
|
|
|
|
|
|
setupHook = ./setup-hook.sh;
|
|
|
|
|
|
|
|
patches = [ ./0001-Search-connectors-in-DLEYNA_CONNECTOR_PATH.patch ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
propagatedBuildInputs = [ gupnp ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Library of utility functions that are used by the higher level dLeyna";
|
2018-06-23 12:34:55 +01:00
|
|
|
homepage = https://01.org/dleyna;
|
2017-08-30 23:22:49 +01:00
|
|
|
maintainers = [ maintainers.jtojnar ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
};
|
|
|
|
}
|