libvncserver: add dev output
This will prevent zlib.dev from propagatedBuildInputs from ending in the out closure.
This commit is contained in:
parent
d3bf3e012e
commit
0b0fcb01c7
|
@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
|
||||||
pname = "libvncserver";
|
pname = "libvncserver";
|
||||||
version = "0.9.13";
|
version = "0.9.13";
|
||||||
|
|
||||||
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "LibVNC";
|
owner = "LibVNC";
|
||||||
repo = "libvncserver";
|
repo = "libvncserver";
|
||||||
|
@ -23,11 +25,24 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "sha256-gQT/M2u4nWQ0MfO2gWAqY0ZJc7V9eGczGzcsxKmG4H8=";
|
sha256 = "sha256-gQT/M2u4nWQ0MfO2gWAqY0ZJc7V9eGczGzcsxKmG4H8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ libjpeg openssl libgcrypt libpng ]
|
cmake
|
||||||
++ lib.optional stdenv.isLinux systemd
|
];
|
||||||
++ lib.optional stdenv.isDarwin Carbon;
|
|
||||||
propagatedBuildInputs = [ zlib ];
|
buildInputs = [
|
||||||
|
libjpeg
|
||||||
|
openssl
|
||||||
|
libgcrypt
|
||||||
|
libpng
|
||||||
|
] ++ lib.optionals stdenv.isLinux [
|
||||||
|
systemd
|
||||||
|
] ++ lib.optional stdenv.isDarwin [
|
||||||
|
Carbon
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
zlib
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "VNC server library";
|
description = "VNC server library";
|
||||||
|
|
Loading…
Reference in a new issue