2021-05-12 13:12:59 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, gobject-introspection
|
|
|
|
, gtk3
|
|
|
|
, libgee
|
2021-08-14 00:56:58 +01:00
|
|
|
, libhandy
|
2021-05-12 13:12:59 +01:00
|
|
|
, libsecret
|
|
|
|
, libsoup
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, nix-update-script
|
|
|
|
, pantheon
|
|
|
|
, pkg-config
|
|
|
|
, python3
|
|
|
|
, vala
|
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
2018-09-08 09:28:54 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "taxi";
|
2021-08-14 00:56:58 +01:00
|
|
|
version = "2.0.2";
|
2018-09-08 09:28:54 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Alecaddd";
|
|
|
|
repo = pname;
|
2021-08-14 00:56:58 +01:00
|
|
|
rev = version;
|
|
|
|
sha256 = "1a4a14b2d5vqbk56drzbbldp0nngfqhwycpyv8d3svi2nchkvpqa";
|
2018-09-08 09:28:54 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2018-12-02 11:41:15 +00:00
|
|
|
gobject-introspection
|
2018-09-08 09:28:54 +01:00
|
|
|
meson
|
|
|
|
ninja
|
2021-01-17 02:09:27 +00:00
|
|
|
pkg-config
|
2018-09-08 09:28:54 +01:00
|
|
|
python3
|
2021-05-12 13:12:59 +01:00
|
|
|
vala
|
2018-09-08 09:28:54 +01:00
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
2021-05-12 13:12:59 +01:00
|
|
|
libgee
|
2021-08-14 00:56:58 +01:00
|
|
|
libhandy
|
2018-09-08 09:28:54 +01:00
|
|
|
libsecret
|
|
|
|
libsoup
|
2021-05-12 13:12:59 +01:00
|
|
|
pantheon.granite
|
2018-09-08 09:28:54 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson/post_install.py
|
|
|
|
patchShebangs meson/post_install.py
|
|
|
|
'';
|
|
|
|
|
2021-11-03 10:27:38 +00:00
|
|
|
passthru.updateScript = nix-update-script {
|
|
|
|
attrPath = pname;
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2021-05-12 13:12:59 +01:00
|
|
|
homepage = "https://github.com/Alecaddd/taxi";
|
2018-09-08 09:28:54 +01:00
|
|
|
description = "The FTP Client that drives you anywhere";
|
2021-05-12 13:12:59 +01:00
|
|
|
license = licenses.lgpl3Plus;
|
2021-08-02 01:46:24 +01:00
|
|
|
maintainers = with maintainers; [ AndersonTorres ] ++ teams.pantheon.members;
|
2021-05-12 13:12:59 +01:00
|
|
|
platforms = platforms.linux;
|
2021-11-03 10:27:38 +00:00
|
|
|
mainProgram = "com.github.alecaddd.taxi";
|
2018-09-08 09:28:54 +01:00
|
|
|
};
|
|
|
|
}
|