bdb851ee2d
elementary OS's ecosystem is curated around Ubuntu's LTS releases. This means the development platform for their curated applications always includes a LTS version of vala (in 18.04 it's 0.40). Because of how vala development works it suspect some of these applications to have serious issues if complied with the latest vala. However in the past year or so, for Pantheon at least, I don't think their applications will have much issues with latest vala, and if there is I don't think they'd be difficult to fix. In this single regard they've become more responsive since their preferred language is vala. As for the curated applications I have less of this confidence in. So I'd have to be accept less applications, but that's something I'm willing to compromise on. And this is easily reversible or could be done on a per-application basis. And nix already makes this trivial.
63 lines
1.0 KiB
Nix
63 lines
1.0 KiB
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, pkgconfig
|
|
, vala
|
|
, pantheon
|
|
, curl
|
|
, glib
|
|
, gtk3
|
|
, hicolor-icon-theme
|
|
, libb64
|
|
, libevent
|
|
, libgee
|
|
, libnatpmp
|
|
, libunity
|
|
, miniupnpc
|
|
, openssl
|
|
, wrapGAppsHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "torrential";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "davidmhewitt";
|
|
repo = "torrential";
|
|
rev = version;
|
|
fetchSubmodules = true;
|
|
sha256 = "17aby0c17ybyzyzyc1cg1j6q1a186801fy84avlaxahqp7vdammx";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
vala
|
|
pkgconfig
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
curl
|
|
glib
|
|
gtk3
|
|
hicolor-icon-theme
|
|
libb64
|
|
libevent
|
|
libgee
|
|
libnatpmp
|
|
libunity
|
|
miniupnpc
|
|
openssl
|
|
pantheon.granite
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Download torrents in style with this speedy, minimalist torrent client for elementary OS";
|
|
homepage = https://github.com/davidmhewitt/torrential;
|
|
maintainers = with maintainers; [ kjuvi ] ++ pantheon.maintainers;
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl3;
|
|
};
|
|
}
|