diff options
author | Pavan Rikhi <pavan.rikhi+agit@gmail.com> | 2014-12-11 16:12:29 -0500 |
---|---|---|
committer | Pavan Rikhi <pavan.rikhi+agit@gmail.com> | 2014-12-13 09:24:12 -0500 |
commit | 0df1c05f71eab126953de12be375dc144efa21c7 (patch) | |
tree | f75c070270a3d59ccb2710a468f264090615d547 /pkgs | |
parent | 5c405a815266bb7cec25f06bd5877c11e23a71bc (diff) | |
download | nixlib-0df1c05f71eab126953de12be375dc144efa21c7.tar nixlib-0df1c05f71eab126953de12be375dc144efa21c7.tar.gz nixlib-0df1c05f71eab126953de12be375dc144efa21c7.tar.bz2 nixlib-0df1c05f71eab126953de12be375dc144efa21c7.tar.lz nixlib-0df1c05f71eab126953de12be375dc144efa21c7.tar.xz nixlib-0df1c05f71eab126953de12be375dc144efa21c7.tar.zst nixlib-0df1c05f71eab126953de12be375dc144efa21c7.zip |
Add the Profile Sync Daemon Package & NixOS Module
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/misc/profile-sync-daemon/default.nix | 32 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/tools/misc/profile-sync-daemon/default.nix b/pkgs/tools/misc/profile-sync-daemon/default.nix new file mode 100644 index 000000000000..d3f017171cb6 --- /dev/null +++ b/pkgs/tools/misc/profile-sync-daemon/default.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchurl, rsync, glibc, gawk }: + +stdenv.mkDerivation rec { + version = "v5.53"; + name = "profile-sync-daemon-${version}"; + + src = fetchurl { + url = "http://github.com/graysky2/profile-sync-daemon/archive/${version}.tar.gz"; + sha256 = "0m7h9l7dndqgb5k3grpc00f6dpg73p6h4q5sgkf8bvyzvcbdafwx"; + }; + + installPhase = "PREFIX=\"\" DESTDIR=$out make install-systemd-all"; + + preferLocalBuild = true; + + meta = with stdenv.lib; { + description = "Syncs browser profile dirs to RAM"; + longDescription = '' + Profile-sync-daemon (psd) is a tiny pseudo-daemon designed to manage your + browser's profile in tmpfs and to periodically sync it back to your + physical disc (HDD/SSD). This is accomplished via a symlinking step and + an innovative use of rsync to maintain back-up and synchronization + between the two. One of the major design goals of psd is a completely + transparent user experience. + ''; + homepage = https://github.com/graysky2/profile-sync-daemon; + downloadPage = https://github.com/graysky2/profile-sync-daemon/releases; + license = licenses.mit; + maintainers = [ maintainers.prikhi ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 42de5f122426..32c4431b8a30 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2171,6 +2171,8 @@ let prey-bash-client = callPackage ../tools/security/prey { }; + profile-sync-daemon = callPackage ../tools/misc/profile-sync-daemon { }; + projectm = callPackage ../applications/audio/projectm { }; proot = callPackage ../tools/system/proot { }; |