Merge pull request #32576 from fare-patches/directvnc

directvnc: 0.7.5-test-051207 -> 0.7.7.2015-04-16
This commit is contained in:
Orivej Desh 2017-12-17 13:58:26 +00:00 committed by GitHub
commit 66d7547ed3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 28 deletions

View File

@ -1,22 +1,25 @@
{ stdenv, fetchurl, pkgconfig, directfb, zlib, libjpeg, xproto }:
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, directfb, zlib, libjpeg, xproto }:
stdenv.mkDerivation rec {
name="directvnc-${version}";
version="0.7.5-test-051207";
name = "directvnc-${version}";
version = "0.7.7.2015-04-16";
src = fetchurl {
url = "http://directvnc-rev.googlecode.com/files/directvnc-${version}.tar.gz";
sha256 = "1is9hca8an1b1n8436wkv7s08ml5lb95f7h9vznx9br597f106w9";
src = fetchFromGitHub {
owner = "drinkmilk";
repo = "directvnc";
rev = "d336f586c5865da68873960092b7b5fbc9f8617a";
sha256 = "16x7mr7x728qw7nbi6rqhrwsy73zsbpiz8pbgfzfl2aqhfdiz88b";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
directfb zlib libjpeg xproto
];
meta = {
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ directfb zlib libjpeg xproto ];
meta = with stdenv.lib; {
description = "DirectFB VNC client";
maintainers = [ stdenv.lib.maintainers.raskin ];
platforms = with stdenv.lib.platforms; linux;
homepage = http://drinkmilk.github.io/directvnc/;
license = licenses.gpl2;
maintainers = [ maintainers.raskin ];
platforms = platforms.linux;
};
}

View File

@ -1,9 +0,0 @@
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";
}

View File

@ -1,5 +0,0 @@
{
downloadPage = "http://code.google.com/p/directvnc-rev/downloads/list";
baseName = "directvnc";
versionExtractorSedScript = ''s/[^0-9]*-([0-9].*[0-9])[.].*/\1/'';
}