parent
f40e36d213
commit
b3144ea287
@ -1,26 +1,21 @@ |
||||
a @ { libjpeg, pkgconfig, zlib, directfb, xproto, ... } : |
||||
let |
||||
s = import ./src-for-default.nix; |
||||
buildInputs = with a; [ |
||||
directfb zlib libjpeg pkgconfig xproto |
||||
]; |
||||
in |
||||
rec { |
||||
src = a.fetchUrlFromSrcInfo s; |
||||
{ stdenv, fetchurl, pkgconfig, directfb, zlib, libjpeg, xproto }: |
||||
|
||||
inherit (s) name; |
||||
inherit buildInputs; |
||||
configureFlags = []; |
||||
stdenv.mkDerivation rec { |
||||
name="directvnc-${version}"; |
||||
version="0.7.5-test-051207"; |
||||
|
||||
/* doConfigure should be removed if not needed */ |
||||
phaseNames = ["doConfigure" "doMakeInstall"]; |
||||
src = fetchurl { |
||||
url = "http://directvnc-rev.googlecode.com/files/directvnc-${version}.tar.gz"; |
||||
sha256 = "1is9hca8an1b1n8436wkv7s08ml5lb95f7h9vznx9br597f106w9"; |
||||
}; |
||||
|
||||
buildInputs = [ |
||||
pkgconfig directfb zlib libjpeg xproto |
||||
]; |
||||
|
||||
meta = { |
||||
description = "DirectFB VNC client"; |
||||
maintainers = [ |
||||
a.lib.maintainers.raskin |
||||
]; |
||||
platforms = with a.lib.platforms; |
||||
linux; |
||||
maintainers = [ stdenv.lib.maintainers.raskin ]; |
||||
platforms = with stdenv.lib.platforms; linux; |
||||
}; |
||||
} |
||||
|
Loading…
Reference in new issue