From 85abde52d05517c8e168050304efe3b2c7c61bd7 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Thu, 3 Mar 2016 17:37:33 +0100 Subject: [PATCH] rewritefs: init at 2016-02-08 --- pkgs/os-specific/linux/rewritefs/default.nix | 26 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/os-specific/linux/rewritefs/default.nix diff --git a/pkgs/os-specific/linux/rewritefs/default.nix b/pkgs/os-specific/linux/rewritefs/default.nix new file mode 100644 index 00000000000..e0f39a558a0 --- /dev/null +++ b/pkgs/os-specific/linux/rewritefs/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub, pkgconfig, fuse, pcre }: + +stdenv.mkDerivation rec { + name = "rewritefs-${version}"; + version = "2016-02-08"; + + src = fetchFromGitHub { + owner = "sloonz"; + repo = "rewritefs"; + rev = "3ac0d1789bb9d48dbeddc6721d00eef19d1dc956"; + sha256 = "0bj8mq5hd52afmy01dyhqsx2rby7injhg96x9z3gyv0r90wa59bh"; + }; + + buildInputs = [ pkgconfig fuse pcre ]; + + preConfigure = "substituteInPlace Makefile --replace /usr/local $out"; + + meta = with stdenv.lib; { + description = ''A FUSE filesystem intended to be used + like Apache mod_rewrite''; + homepage = "https://github.com/sloonz/rewritefs"; + license = licenses.gpl2; + maintainers = with maintainers; [ rnhmjoj ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9d45632c4e6..c32a1cb771a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3090,6 +3090,8 @@ let rescuetime = callPackage ../applications/misc/rescuetime { }; + rewritefs = callPackage ../os-specific/linux/rewritefs { }; + rdiff-backup = callPackage ../tools/backup/rdiff-backup { }; rdfind = callPackage ../tools/filesystems/rdfind { };