about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/dleyna-core/default.nix
blob: 787030eed9877275e3bf8a9712c1632f551cd9b1 (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
{ stdenv, autoreconfHook, pkgconfig, fetchFromGitHub, gupnp }:

stdenv.mkDerivation rec {
  pname = "dleyna-core";
  name = "${pname}-${version}";
  version = "0.6.0";

  src = fetchFromGitHub {
    owner = "01org";
    repo = pname;
    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";
    homepage = https://01.org/dleyna;
    maintainers = [ maintainers.jtojnar ];
    platforms = platforms.linux;
    license = licenses.lgpl21;
  };
}