2017-02-17 19:20:45 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, perl }:
|
2014-01-31 13:25:26 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "fakechroot-${version}";
|
2017-02-17 19:20:45 +00:00
|
|
|
version = "2.19";
|
2014-01-31 13:25:26 +00:00
|
|
|
|
2017-02-17 19:20:45 +00:00
|
|
|
# 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";
|
2014-01-31 13:25:26 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ perl ];
|
2017-02-17 19:20:45 +00:00
|
|
|
|
2014-01-31 13:25:26 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|