Author: raskin
Date: Tue Nov 23 07:52:57 2010
New Revision: 24819
URL: https://svn.nixos.org/websvn/nix/?rev=24819&sc=1
Log:
Adding untie - a tool for manipulating namespaces
Added:
nixpkgs/trunk/pkgs/os-specific/linux/untie/
nixpkgs/trunk/pkgs/os-specific/linux/untie/default.nix
Modified:
nixpkgs/trunk/pkgs/top-level/all-packages.nix
Added: nixpkgs/trunk/pkgs/os-specific/linux/untie/default.nix
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/os-specific/linux/untie/default.nix Tue Nov 23
07:52:57 2010 (r24819)
@@ -0,0 +1,46 @@
+...@{builderdefspackage
+ , ...}:
+builderDefsPackage
+(a :
+let
+ helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
+ [];
+
+ buildInputs = map (n: builtins.getAttr n x)
+ (builtins.attrNames (builtins.removeAttrs x helperArgNames));
+ sourceInfo = rec {
+ baseName="untie";
+ version="0.3";
+ name="${baseName}-${version}";
+ url="http://guichaz.free.fr/${baseName}/files/${name}.tar.bz2";
+ hash="154c3550af3d3513022a15381bbc2693f5dd7789bf0a4320635991b8f6b3648c";
+ };
+in
+rec {
+ src = a.fetchurl {
+ url = sourceInfo.url;
+ sha256 = sourceInfo.hash;
+ };
+
+ inherit (sourceInfo) name version;
+ inherit buildInputs;
+
+ phaseNames = ["doMakeInstall"];
+ makeFlags=["PREFIX=$out"];
+
+ meta = {
+ description = "A tool to run processes untied from some of the namespaces";
+ maintainers = with a.lib.maintainers;
+ [
+ raskin
+ ];
+ platforms = with a.lib.platforms;
+ linux;
+ };
+ passthru = {
+ updateInfo = {
+ downloadPage = "http://guichaz.free.fr/untie";
+ };
+ };
+}) x
+
Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix Tue Nov 23 07:46:18
2010 (r24818)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix Tue Nov 23 07:52:57
2010 (r24819)
@@ -5047,6 +5047,8 @@
tunctl = true; mconsole = true;
};
+ untie = callPackage ../os-specific/linux/untie {};
+
upstart = callPackage ../os-specific/linux/upstart { };
usbutils = callPackage ../os-specific/linux/usbutils { };
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits