2021-05-12 13:12:59 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, gobject-introspection
|
|
|
|
, gtk3
|
|
|
|
, libgee
|
|
|
|
, 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-05-12 13:12:59 +01:00
|
|
|
version = "0.0.1-unstable=2020-09-03";
|
2018-09-08 09:28:54 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Alecaddd";
|
|
|
|
repo = pname;
|
2021-05-12 13:12:59 +01:00
|
|
|
rev = "74aade67fd9ba9e5bc10c950ccd8d7e48adc2ea1";
|
|
|
|
sha256 = "sha256-S/FeKJxIdA30CpfFVrQsALdq7Gy4F4+P50Ky5tmqKvM=";
|
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
|
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-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;
|
|
|
|
};
|
|
|
|
|
|
|
|
passthru.updateScript = nix-update-script {
|
|
|
|
attrPath = pname;
|
2018-09-08 09:28:54 +01:00
|
|
|
};
|
|
|
|
}
|