nixpkgs-suyu/pkgs/tools/system/suid-chroot/default.nix
Tobias Geerinckx-Rice 9fb8020e4e Add version attribute where maintainers |= nckx
This will probably be mandatory soon, and is a step in the right
direction. Removes the deprecated meta.version, and move some meta
sections to the end of the file where I should have put them in
the first place.
2016-01-25 17:35:21 +01:00

21 lines
521 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "suid-chroot-${version}";
version = "1.0.2";
src = fetchurl {
sha256 = "1a9xqhck0ikn8kfjk338h9v1yjn113gd83q0c50k78xa68xrnxjx";
url = "http://myweb.tiscali.co.uk/scottrix/linux/download/${name}.tar.bz2";
};
postPatch = ''
substituteInPlace Makefile --replace /usr $out
'';
meta = with stdenv.lib; {
description = "Setuid-safe wrapper for chroot";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ nckx ];
};
}