nixpkgs/pkgs/development/libraries/dleyna-core/default.nix

50 lines
1.1 KiB
Nix
Raw Normal View History

2019-03-16 04:52:48 +00:00
{ stdenv
, fetchFromGitHub
, fetchpatch
, autoreconfHook
, pkgconfig
, gupnp
}:
2017-08-30 23:22:49 +01:00
stdenv.mkDerivation rec {
2018-05-28 13:59:57 +01:00
pname = "dleyna-core";
2017-08-30 23:22:49 +01:00
version = "0.6.0";
2019-03-16 04:52:48 +00:00
setupHook = ./setup-hook.sh;
2017-08-30 23:22:49 +01:00
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";
};
2019-03-16 04:52:48 +00:00
patches = [
./0001-Search-connectors-in-DLEYNA_CONNECTOR_PATH.patch
# fix build with gupnp 1.2
# https://github.com/intel/dleyna-core/pull/52
(fetchpatch {
url = https://github.com/intel/dleyna-core/commit/41b2e56f67b6fc9c8c256b86957d281644b9b846.patch;
sha256 = "1h758cp65v7qyfpvyqdri7q0gwx85mhdpkb2y8waq735q5q9ib39";
})
];
2017-08-30 23:22:49 +01:00
2019-03-16 04:52:48 +00:00
nativeBuildInputs = [
autoreconfHook
pkgconfig
];
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
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;
};
}