Adding untie - a tool for manipulating namespaces

svn path=/nixpkgs/trunk/; revision=24819

+48
+46
pkgs/os-specific/linux/untie/default.nix
··· 1 + x@{builderDefsPackage 2 + , ...}: 3 + builderDefsPackage 4 + (a : 5 + let 6 + helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ 7 + []; 8 + 9 + buildInputs = map (n: builtins.getAttr n x) 10 + (builtins.attrNames (builtins.removeAttrs x helperArgNames)); 11 + sourceInfo = rec { 12 + baseName="untie"; 13 + version="0.3"; 14 + name="${baseName}-${version}"; 15 + url="http://guichaz.free.fr/${baseName}/files/${name}.tar.bz2"; 16 + hash="154c3550af3d3513022a15381bbc2693f5dd7789bf0a4320635991b8f6b3648c"; 17 + }; 18 + in 19 + rec { 20 + src = a.fetchurl { 21 + url = sourceInfo.url; 22 + sha256 = sourceInfo.hash; 23 + }; 24 + 25 + inherit (sourceInfo) name version; 26 + inherit buildInputs; 27 + 28 + phaseNames = ["doMakeInstall"]; 29 + makeFlags=["PREFIX=$out"]; 30 + 31 + meta = { 32 + description = "A tool to run processes untied from some of the namespaces"; 33 + maintainers = with a.lib.maintainers; 34 + [ 35 + raskin 36 + ]; 37 + platforms = with a.lib.platforms; 38 + linux; 39 + }; 40 + passthru = { 41 + updateInfo = { 42 + downloadPage = "http://guichaz.free.fr/untie"; 43 + }; 44 + }; 45 + }) x 46 +
+2
pkgs/top-level/all-packages.nix
··· 5047 5047 tunctl = true; mconsole = true; 5048 5048 }; 5049 5049 5050 + untie = callPackage ../os-specific/linux/untie {}; 5051 + 5050 5052 upstart = callPackage ../os-specific/linux/upstart { }; 5051 5053 5052 5054 usbutils = callPackage ../os-specific/linux/usbutils { };