mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 09:31:01 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
31 lines
902 B
Nix
31 lines
902 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, fuse, curl, glib-networking
|
|
, asciidoc, libxml2, docbook_xsl, docbook_xml_dtd_45, libxslt, wrapGAppsHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "megatools";
|
|
version = "1.10.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "megous";
|
|
repo = "megatools";
|
|
rev = "${version}";
|
|
sha256 = "001hw8j36ld03wwaphq3xdaazf2dpl36h84k8xmk524x8vlia8lk";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook pkgconfig wrapGAppsHook asciidoc libxml2
|
|
docbook_xsl docbook_xml_dtd_45 libxslt
|
|
];
|
|
buildInputs = [ glib glib-networking fuse curl ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Command line client for Mega.co.nz";
|
|
homepage = https://megatools.megous.com/;
|
|
license = licenses.gpl2Plus;
|
|
maintainers = [ maintainers.viric maintainers.AndersonTorres ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|