fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ stdenv, fetchurl
2, kernel, klibc
3}:
4
5stdenv.mkDerivation rec {
6 name = "v86d-${version}-${kernel.version}";
7 version = "0.1.10";
8
9 src = fetchurl {
10 url = "https://github.com/mjanusz/v86d/archive/v86d-${version}.tar.gz";
11 sha256 = "1flnpp8rc945cxr6jr9dlm8mi8gr181zrp2say4269602s1a4ymg";
12 };
13
14 patchPhase = ''
15 patchShebangs configure
16 '';
17
18 configureFlags = [ "--with-klibc" "--with-x86emu" ];
19
20 makeFlags = [
21 "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/source"
22 "DESTDIR=$(out)"
23 ];
24
25 configurePhase = ''
26 ./configure $configureFlags
27 '';
28
29 buildInputs = [ klibc ];
30
31 meta = with stdenv.lib; {
32 description = "A daemon to run x86 code in an emulated environment";
33 homepage = https://github.com/mjanusz/v86d;
34 license = licenses.gpl2;
35 maintainers = with maintainers; [ codyopel ];
36 platforms = [ "i686-linux" "x86_64-linux" ];
37 };
38}