From eb3d75b740dc06621ab4057ac1debf01e1ff128c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Thu, 6 Jan 2011 10:43:32 +0000 Subject: [PATCH] Adding fakeroot. svn path=/nixpkgs/trunk/; revision=25440 --- pkgs/tools/system/fakeroot/default.nix | 19 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/tools/system/fakeroot/default.nix diff --git a/pkgs/tools/system/fakeroot/default.nix b/pkgs/tools/system/fakeroot/default.nix new file mode 100644 index 000000000000..ee7c9abe0e8c --- /dev/null +++ b/pkgs/tools/system/fakeroot/default.nix @@ -0,0 +1,19 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation { + name = "fakeroot-1.14.5"; + + src = fetchurl { + url = http://ftp.de.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.14.5.orig.tar.bz2; + sha256 = "0s5f785qsh057z05l9i5k1h9cbj9x26ki37l4wh4iyabjhschddh"; + }; + + meta = { + homepage = http://fakeroot.alioth.debian.org/; + description = "Give a fake root environment through LD_PRELOAD"; + license = "GPLv2+"; + maintainers = with stdenv.lib.maintainers; [viric]; + platforms = with stdenv.lib.platforms; all; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ee70ebd0e061..eb89317a2871 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -606,6 +606,8 @@ let expect = callPackage ../tools/misc/expect { }; + fakeroot = callPackage ../tools/system/fakeroot { }; + fcron = callPackage ../tools/system/fcron { # see also cron };