summary refs log tree commit diff
path: root/pkgs/tools/system/fakechroot/default.nix
blob: 25470af9bb30c3e23adc418c653eb9535b87f612 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchFromGitHub, autoreconfHook, perl }:

stdenv.mkDerivation rec {
  name = "fakechroot-${version}";
  version = "2.19";

  # TODO: move back to mainline once https://github.com/dex4er/fakechroot/pull/46 is merged
  src = fetchFromGitHub {
    owner  = "copumpkin";
    repo   = "fakechroot";
    rev    = "dcc0cfe3941e328538f9e62b2c0b15430d393ec1";
    sha256 = "1ls3y97qqfcfd3z0balz94xq1gskfk04pg85x6b7wjw8dm4030qd";
  };

  nativeBuildInputs = [ autoreconfHook ];
  buildInputs = [ perl ];

  meta = with stdenv.lib; {
    homepage = https://github.com/dex4er/fakechroot;
    description = "Give a fake chroot environment through LD_PRELOAD";
    license = licenses.lgpl21;
    maintainers = with maintainers; [offline];
    platforms = platforms.linux;
  };

}