nerdfonts: fix wrong attribute name in error message (#364463)
[NixPkgs.git] / pkgs / by-name / dl / dleyna-core / package.nix
blobe25e1a1da44a40a13c5e0a55256186cc819c631f
2   stdenv,
3   lib,
4   fetchFromGitHub,
5   meson,
6   ninja,
7   pkg-config,
8   gupnp,
9 }:
11 stdenv.mkDerivation rec {
12   pname = "dleyna-core";
13   version = "0.7.0";
15   outputs = [
16     "out"
17     "dev"
18   ];
20   setupHook = ./setup-hook.sh;
22   src = fetchFromGitHub {
23     owner = "phako";
24     repo = pname;
25     rev = "v${version}";
26     sha256 = "i4L9+iyAdBNtgImbD54jkjYL5hvzeZ2OaAyFrcFmuG0=";
27   };
29   nativeBuildInputs = [
30     meson
31     ninja
32     pkg-config
33   ];
35   propagatedBuildInputs = [
36     gupnp
37   ];
39   env.NIX_CFLAGS_COMPILE = toString (
40     lib.optionals stdenv.cc.isClang [
41       "-Wno-error=implicit-function-declaration"
42       "-Wno-error=int-conversion"
43     ]
44   );
46   meta = with lib; {
47     description = "Library of utility functions that are used by the higher level dLeyna";
48     homepage = "https://github.com/phako/dleyna-core";
49     maintainers = with maintainers; [ jtojnar ];
50     platforms = platforms.unix;
51     license = licenses.lgpl21Only;
52   };