blob: 4a4eecfdc0f273f8b3d5903ad69c9824fff0dba4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{ lib, stdenv
, fetchFromGitHub
, fetchpatch
, autoreconfHook
, pkg-config
, gupnp
}:
stdenv.mkDerivation rec {
pname = "dleyna-core";
version = "0.6.0";
setupHook = ./setup-hook.sh;
src = fetchFromGitHub {
owner = "01org";
repo = pname;
rev = "v${version}";
sha256 = "1x5vj5zfk95avyg6g3nf6gar250cfrgla2ixj2ifn8pcick2d9vq";
};
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";
})
];
nativeBuildInputs = [
autoreconfHook
pkg-config
];
propagatedBuildInputs = [
gupnp
];
meta = with lib; {
description = "Library of utility functions that are used by the higher level dLeyna";
homepage = "https://01.org/dleyna";
maintainers = [ maintainers.jtojnar ];
platforms = platforms.linux;
license = licenses.lgpl21;
};
}
|