megatools: build on darwin, update src (#79254)
This commit is contained in:
parent
7c558f7ac7
commit
4ccc640dd3
@ -1,13 +1,12 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, fuse, curl, glib-networking
|
||||
{ stdenv, fetchgit, 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";
|
||||
src = fetchgit {
|
||||
url = "https://megous.com/git/megatools";
|
||||
rev = version;
|
||||
sha256 = "001hw8j36ld03wwaphq3xdaazf2dpl36h84k8xmk524x8vlia8lk";
|
||||
};
|
||||
@ -16,7 +15,8 @@ stdenv.mkDerivation rec {
|
||||
autoreconfHook pkgconfig wrapGAppsHook asciidoc libxml2
|
||||
docbook_xsl docbook_xml_dtd_45 libxslt
|
||||
];
|
||||
buildInputs = [ glib glib-networking fuse curl ];
|
||||
buildInputs = [ glib glib-networking curl ]
|
||||
++ stdenv.lib.optionals stdenv.isLinux [ fuse ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
@ -25,6 +25,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = https://megatools.megous.com/;
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.viric maintainers.AndersonTorres ];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user