mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 03:53:47 +00:00
proot: User-space implementation of chroot, mount --bind and binfmt_misc
This commit is contained in:
parent
95b12bf0be
commit
609bea973a
33
pkgs/tools/system/proot/default.nix
Normal file
33
pkgs/tools/system/proot/default.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ stdenv, fetchgit, talloc }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "proot-${version}";
|
||||||
|
version = "4.0.3";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "git://github.com/cedric-vincent/proot.git";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
sha256 = "95a52b2fa47b2891eb2c6b6b0e14d42f6d48f6fd5181e359b007831f1a046e84";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ talloc ];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
substituteInPlace GNUmakefile --replace "/usr/local" "$out"
|
||||||
|
'';
|
||||||
|
|
||||||
|
phases = [ "unpackPhase" "buildPhase" "installPhase" ];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
sourceRoot = "git-export/src";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://proot.me;
|
||||||
|
description = "User-space implementation of chroot, mount --bind and binfmt_misc";
|
||||||
|
platforms = platforms.linux;
|
||||||
|
license = licenses.gpl2;
|
||||||
|
maintainers = with self.stdenv.lib.maintainers; [ ianwookim ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -2024,6 +2024,8 @@ let
|
|||||||
|
|
||||||
projectm = callPackage ../applications/audio/projectm { };
|
projectm = callPackage ../applications/audio/projectm { };
|
||||||
|
|
||||||
|
proot = callPackage ../tools/system/proot { };
|
||||||
|
|
||||||
proxychains = callPackage ../tools/networking/proxychains { };
|
proxychains = callPackage ../tools/networking/proxychains { };
|
||||||
|
|
||||||
proxytunnel = callPackage ../tools/misc/proxytunnel { };
|
proxytunnel = callPackage ../tools/misc/proxytunnel { };
|
||||||
|
Loading…
Reference in New Issue
Block a user