diff options
author | Aristid Breitkreuz <aristidb@gmail.com> | 2014-10-09 20:50:12 +0200 |
---|---|---|
committer | Aristid Breitkreuz <aristidb@gmail.com> | 2014-10-09 20:50:12 +0200 |
commit | c7a06fa51a9ff32f28ac42f46d53240d1afc8467 (patch) | |
tree | d1a841ce65576a30e6abb1e0ea28cba36aaa1e94 /pkgs/tools/system | |
parent | 2986ca34d6a646205f511a4d107ded4a0be0e996 (diff) | |
parent | 6d724303c35d95c906e2a19bee387a15a75b1973 (diff) | |
download | nixlib-c7a06fa51a9ff32f28ac42f46d53240d1afc8467.tar nixlib-c7a06fa51a9ff32f28ac42f46d53240d1afc8467.tar.gz nixlib-c7a06fa51a9ff32f28ac42f46d53240d1afc8467.tar.bz2 nixlib-c7a06fa51a9ff32f28ac42f46d53240d1afc8467.tar.lz nixlib-c7a06fa51a9ff32f28ac42f46d53240d1afc8467.tar.xz nixlib-c7a06fa51a9ff32f28ac42f46d53240d1afc8467.tar.zst nixlib-c7a06fa51a9ff32f28ac42f46d53240d1afc8467.zip |
Merge pull request #4412 from wavewave/proot
proot: remove self.stdenv.lib
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r-- | pkgs/tools/system/proot/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/system/proot/default.nix b/pkgs/tools/system/proot/default.nix new file mode 100644 index 000000000000..3eaa85e41eaa --- /dev/null +++ b/pkgs/tools/system/proot/default.nix @@ -0,0 +1,29 @@ +{ 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" + ''; + + 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 = [ maintainers.ianwookim ]; + }; +} + |