diff options
author | AndersonTorres <torres.anderson.85@gmail.com> | 2014-11-30 12:07:44 -0200 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@gmail.com> | 2014-11-30 12:07:44 -0200 |
commit | 3af34aa2b15c9c1e009c8ba9cff31970b7da87d5 (patch) | |
tree | ef90193d292d6b31f4c274bd8b1f02c929b25503 /pkgs/tools/networking/megatools | |
parent | 74ed5eee41867ff452f542f05da9eb061831f54b (diff) |
Megatools: update to 1.9.93
Diffstat (limited to 'pkgs/tools/networking/megatools')
-rw-r--r-- | pkgs/tools/networking/megatools/default.nix | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/pkgs/tools/networking/megatools/default.nix b/pkgs/tools/networking/megatools/default.nix index 5c1910f1d6eb0..2fa8ca33e86b4 100644 --- a/pkgs/tools/networking/megatools/default.nix +++ b/pkgs/tools/networking/megatools/default.nix @@ -1,30 +1,30 @@ -{ stdenv, fetchurl, glib, curl, pkgconfig, fuse, glib_networking, makeWrapper -, gsettings_desktop_schemas }: +{ stdenv, fetchurl, pkgconfig, glib, fuse, curl, glib_networking, gsettings_desktop_schemas +, makeWrapper }: stdenv.mkDerivation rec { - name = "megatools-1.9.91"; + name = "megatools-${version}"; + version = "1.9.93"; src = fetchurl { url = "http://megatools.megous.com/builds/${name}.tar.gz"; - sha256 = "0hb83wqsn6mggcmk871hl8cski5x0hxz9dhaka42115s4mdfbl1i"; + sha256 = "0xm57pgjvfifq1j5lyvrcs6x0vxhqzr399s7paj4g7nspj0dbll9"; }; - buildInputs = [ glib curl pkgconfig fuse makeWrapper ]; + buildInputs = [ pkgconfig glib fuse curl makeWrapper ]; postInstall = '' - for a in $out/bin/*; do - wrapProgram "$a" \ + for i in $(find $out/bin/ -type f); do + wrapProgram "$i" \ --prefix GIO_EXTRA_MODULES : "${glib_networking}/lib/gio/modules" \ --prefix XDG_DATA_DIRS : "${gsettings_desktop_schemas}/share" - done ''; - meta = { + meta = with stdenv.lib; { description = "Command line client for Mega.co.nz"; homepage = http://megatools.megous.com/; - license = stdenv.lib.licenses.gpl2Plus; - maintainers = [ stdenv.lib.maintainers.viric ]; - platforms = stdenv.lib.platforms.linux; + license = licenses.gpl2Plus; + maintainers = [ maintainers.viric maintainers.AndersonTorres ]; + platforms = platforms.linux; }; } |