From a403f55ccfe601470f11cfd2fb47a943d938855b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Fri, 24 May 2013 23:43:26 +0200 Subject: [PATCH] Adding megatools --- pkgs/tools/networking/megatools/default.nix | 20 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/tools/networking/megatools/default.nix diff --git a/pkgs/tools/networking/megatools/default.nix b/pkgs/tools/networking/megatools/default.nix new file mode 100644 index 000000000000..022d09d0fb8b --- /dev/null +++ b/pkgs/tools/networking/megatools/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, glib, curl, pkgconfig, fuse }: + +stdenv.mkDerivation rec { + name = "megatools-1.9.91"; + + src = fetchurl { + url = "http://megatools.megous.com/builds/${name}.tar.gz"; + sha256 = "0hb83wqsn6mggcmk871hl8cski5x0hxz9dhaka42115s4mdfbl1i"; + }; + + buildInputs = [ glib curl pkgconfig fuse ]; + + meta = { + description = "Command line client for Mega.co.nz"; + homepage = http://megatools.megous.com/; + license = "GPLv2+"; + maintainers = [ stdenv.lib.maintainers.viric ]; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e72e775685bf..868846429238 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1171,6 +1171,8 @@ let mdbtools_git = callPackage ../tools/misc/mdbtools/git.nix { }; + megatools = callPackage ../tools/networking/megatools { }; + minecraft = callPackage ../games/minecraft { }; minetest = callPackage ../games/minetest { };