From d165ea2329b1f73fea087dab8ccbef7b339302b2 Mon Sep 17 00:00:00 2001 From: Lancelot SIX Date: Mon, 3 Aug 2015 22:05:16 +0200 Subject: [PATCH] hubicfuse: init at 2.1.0 --- pkgs/tools/filesystems/hubicfuse/default.nix | 25 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/tools/filesystems/hubicfuse/default.nix diff --git a/pkgs/tools/filesystems/hubicfuse/default.nix b/pkgs/tools/filesystems/hubicfuse/default.nix new file mode 100644 index 00000000000..7ce48d28803 --- /dev/null +++ b/pkgs/tools/filesystems/hubicfuse/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, pkgconfig, curl, openssl, fuse, libxml2, json_c, file }: + +stdenv.mkDerivation rec { + name = "hubicfuse-${version}"; + version = "2.1.0"; + + src = fetchurl { + url = https://github.com/TurboGit/hubicfuse/archive/v2.1.0.tar.gz; + sha256 = "1mnijcwac6k3f6xknvdrsbmkkizpwbayqkb5l6jic15ymxv1fs7d"; + }; + + buildInputs = [ pkgconfig curl openssl fuse libxml2 json_c file ]; + postInstall = '' + install hubic_token $out/bin + mkdir -p $out/sbin + ln -sf $out/bin/hubicfuse $out/sbin/mount.hubicfuse + ''; + + meta = with stdenv.lib; { + homepage = https://github.com/TurboGit/hubicfuse; + description = "FUSE-based filesystem to access hubic cloud storage"; + platforms = platforms.linux; + license = licenses.mit; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 518890ebb3d..60bd02eb1f6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1870,6 +1870,8 @@ let httptunnel = callPackage ../tools/networking/httptunnel { }; + hubicfuse = callPackage ../tools/filesystems/hubicfuse { }; + hwinfo = callPackage ../tools/system/hwinfo { }; i2c-tools = callPackage ../os-specific/linux/i2c-tools { };