2021-01-17 02:09:27 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, nix-update-script, pantheon, pkg-config, meson, ninja, python3, vala
|
2019-02-13 21:47:50 +00:00
|
|
|
, gtk3, libgee, libsoup, libsecret, gobject-introspection, wrapGAppsHook }:
|
2018-09-08 09:28:54 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "taxi";
|
|
|
|
version = "0.0.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Alecaddd";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "01c552w68576pnsyqbwy3hjhbww6vys3r3s0wxjdiscjqj1aawqg";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2019-10-10 03:47:37 +01:00
|
|
|
vala
|
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
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2018-08-20 21:31:18 +01:00
|
|
|
pantheon.granite
|
2019-02-13 21:47:50 +00:00
|
|
|
libgee
|
2018-09-08 09:28:54 +01:00
|
|
|
gtk3
|
|
|
|
libsecret
|
|
|
|
libsoup
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson/post_install.py
|
|
|
|
patchShebangs meson/post_install.py
|
|
|
|
'';
|
|
|
|
|
2019-12-22 23:19:30 +00:00
|
|
|
passthru = {
|
2020-07-29 17:33:39 +01:00
|
|
|
updateScript = nix-update-script {
|
2019-12-22 23:19:30 +00:00
|
|
|
attrPath = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-09-08 09:28:54 +01:00
|
|
|
description = "The FTP Client that drives you anywhere";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/Alecaddd/taxi";
|
2018-09-08 09:28:54 +01:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ worldofpeace ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|