directvnc: reimplement using mkDerivation
This commit is contained in:
parent
f40e36d213
commit
b3144ea287
@ -1,26 +1,21 @@
|
|||||||
a @ { libjpeg, pkgconfig, zlib, directfb, xproto, ... } :
|
{ stdenv, fetchurl, pkgconfig, directfb, zlib, libjpeg, xproto }:
|
||||||
let
|
|
||||||
s = import ./src-for-default.nix;
|
stdenv.mkDerivation rec {
|
||||||
buildInputs = with a; [
|
name="directvnc-${version}";
|
||||||
directfb zlib libjpeg pkgconfig xproto
|
version="0.7.5-test-051207";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://directvnc-rev.googlecode.com/files/directvnc-${version}.tar.gz";
|
||||||
|
sha256 = "1is9hca8an1b1n8436wkv7s08ml5lb95f7h9vznx9br597f106w9";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
pkgconfig directfb zlib libjpeg xproto
|
||||||
];
|
];
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchUrlFromSrcInfo s;
|
|
||||||
|
|
||||||
inherit (s) name;
|
|
||||||
inherit buildInputs;
|
|
||||||
configureFlags = [];
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
|
||||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "DirectFB VNC client";
|
description = "DirectFB VNC client";
|
||||||
maintainers = [
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
||||||
a.lib.maintainers.raskin
|
platforms = with stdenv.lib.platforms; linux;
|
||||||
];
|
|
||||||
platforms = with a.lib.platforms;
|
|
||||||
linux;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -9742,7 +9742,9 @@ let
|
|||||||
|
|
||||||
dietlibc = callPackage ../os-specific/linux/dietlibc { };
|
dietlibc = callPackage ../os-specific/linux/dietlibc { };
|
||||||
|
|
||||||
directvnc = builderDefsPackage (callPackage ../os-specific/linux/directvnc) {};
|
directvnc = callPackage ../os-specific/linux/directvnc {
|
||||||
|
inherit (xlibs) xproto;
|
||||||
|
};
|
||||||
|
|
||||||
dmraid = callPackage ../os-specific/linux/dmraid {
|
dmraid = callPackage ../os-specific/linux/dmraid {
|
||||||
devicemapper = devicemapper.override {enable_dmeventd = true;};
|
devicemapper = devicemapper.override {enable_dmeventd = true;};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user