mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Add directvnc. Not sure whether it works - for me it hangs, but I have known Radeon issues, it seems
svn path=/nixpkgs/trunk/; revision=18159
This commit is contained in:
parent
661f082d47
commit
df69473bd2
3 changed files with 40 additions and 0 deletions
26
pkgs/os-specific/linux/directvnc/default.nix
Normal file
26
pkgs/os-specific/linux/directvnc/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
a :
|
||||||
|
let
|
||||||
|
s = import ./src-for-default.nix;
|
||||||
|
buildInputs = with a; [
|
||||||
|
directfb zlib libjpeg pkgconfig xproto
|
||||||
|
];
|
||||||
|
in
|
||||||
|
rec {
|
||||||
|
src = a.fetchUrlFromSrcInfo s;
|
||||||
|
|
||||||
|
inherit (s) name;
|
||||||
|
inherit buildInputs;
|
||||||
|
configureFlags = [];
|
||||||
|
|
||||||
|
/* doConfigure should be removed if not needed */
|
||||||
|
phaseNames = ["doConfigure" "doMakeInstall"];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "DirectFB VNC client";
|
||||||
|
maintainers = [
|
||||||
|
a.lib.maintainers.raskin
|
||||||
|
];
|
||||||
|
platforms = with a.lib.platforms;
|
||||||
|
linux;
|
||||||
|
};
|
||||||
|
}
|
9
pkgs/os-specific/linux/directvnc/src-for-default.nix
Normal file
9
pkgs/os-specific/linux/directvnc/src-for-default.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
rec {
|
||||||
|
version="0.7.5-test-051207";
|
||||||
|
name="directvnc-0.7.5-test-051207";
|
||||||
|
hash="1is9hca8an1b1n8436wkv7s08ml5lb95f7h9vznx9br597f106w9";
|
||||||
|
url="http://directvnc-rev.googlecode.com/files/directvnc-${version}.tar.gz";
|
||||||
|
advertisedUrl="http://directvnc-rev.googlecode.com/files/directvnc-0.7.5-test-051207.tar.gz";
|
||||||
|
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
downloadPage = "http://code.google.com/p/directvnc-rev/downloads/list";
|
||||||
|
baseName = "directvnc";
|
||||||
|
versionExtractorSedScript = ''s/[^0-9]*-([0-9].*[0-9])[.].*/\1/'';
|
||||||
|
}
|
Loading…
Reference in a new issue