Merge remote-tracking branch 'upstream/master' into hardened-stdenv

This commit is contained in:
Robin Gloster
2016-02-27 00:08:08 +00:00
504 changed files with 28750 additions and 13232 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
{ stdenv, fetchzip, pythonPackages, buildPythonPackage }:
{ stdenv, fetchzip, pythonPackages, buildPythonApplication }:
let honcho = buildPythonPackage rec {
let honcho = buildPythonApplication rec {
name = "honcho-${version}";
version = "0.6.6";
namePrefix = "";
+23 -10
View File
@@ -1,31 +1,44 @@
{ stdenv, fetchgit, talloc, enableStatic ? false }:
{ stdenv, fetchFromGitHub, talloc, docutils
, enableStatic ? false }:
stdenv.mkDerivation rec {
name = "proot-${version}";
version = "4.0.3";
version = "5.1.0";
src = fetchgit {
url = "git://github.com/cedric-vincent/proot.git";
rev = "refs/tags/v${version}";
sha256 = "95a52b2fa47b2891eb2c6b6b0e14d42f6d48f6fd5181e359b007831f1a046e84";
src = fetchFromGitHub {
sha256 = "0azsqis99gxldmbcg43girch85ysg4hwzf0h1b44bmapnsm89fbz";
rev = "v${version}";
repo = "proot";
owner = "cedric-vincent";
};
buildInputs = [ talloc ];
nativeBuildInputs = [ docutils ];
enableParallelBuilding = true;
preBuild = stdenv.lib.optionalString enableStatic ''
export LDFLAGS="-static -L${talloc}/lib"
'' + ''
substituteInPlace GNUmakefile --replace "/usr/local" "$out"
'';
sourceRoot = "proot/src";
makeFlags = [ "-C src" ];
postBuild = ''
make -C doc proot/man.1
'';
installFlags = [ "PREFIX=$(out)" ];
postInstall = ''
install -Dm644 doc/proot/man.1 $out/share/man/man1/proot.1
'';
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 ];
maintainers = with maintainers; [ ianwookim nckx ];
};
}