ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / di / directvnc / package.nix
blob5ec40370bbbaa1e7024c0511b7ca6fb5273236a1
1 { lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config, directfb, zlib, libjpeg, xorgproto }:
3 stdenv.mkDerivation {
4   pname = "directvnc";
5   version = "0.7.7.2015-04-16";
7   src = fetchFromGitHub {
8     owner = "drinkmilk";
9     repo = "directvnc";
10     rev = "d336f586c5865da68873960092b7b5fbc9f8617a";
11     sha256 = "16x7mr7x728qw7nbi6rqhrwsy73zsbpiz8pbgfzfl2aqhfdiz88b";
12   };
14   patches = [
15     # Pull fix pending upstream inclusion for -fno-common toolchain
16     # support:
17     #   https://github.com/drinkmilk/directvnc/pull/7
18     (fetchpatch {
19       name = "fno-common.patch";
20       url = "https://github.com/drinkmilk/directvnc/commit/e9c23d049bcf31d0097348d44391fe5fd9aad12b.patch";
21       sha256 = "1dnzr0dnx20w80r73j4a9n6mhbazjzlr5ps9xjj898924cg140zx";
22     })
23   ];
25   nativeBuildInputs = [ autoreconfHook pkg-config ];
27   buildInputs = [ directfb zlib libjpeg xorgproto ];
29   meta = with lib; {
30     description = "DirectFB VNC client";
31     homepage = "http://drinkmilk.github.io/directvnc/";
32     license = licenses.gpl2Plus;
33     maintainers = [ maintainers.raskin ];
34     platforms = platforms.linux;
35   };