3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/ftp/taxi/default.nix

68 lines
1.1 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, gobject-introspection
, gtk3
, libgee
, libhandy
, 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";
version = "2.0.2";
2018-09-08 09:28:54 +01:00
src = fetchFromGitHub {
owner = "Alecaddd";
repo = pname;
rev = version;
sha256 = "1a4a14b2d5vqbk56drzbbldp0nngfqhwycpyv8d3svi2nchkvpqa";
2018-09-08 09:28:54 +01:00
};
nativeBuildInputs = [
gobject-introspection
2018-09-08 09:28:54 +01:00
meson
ninja
pkg-config
2018-09-08 09:28:54 +01:00
python3
vala
2018-09-08 09:28:54 +01:00
wrapGAppsHook
];
buildInputs = [
gtk3
libgee
libhandy
2018-09-08 09:28:54 +01:00
libsecret
libsoup
pantheon.granite
2018-09-08 09:28:54 +01:00
];
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
'';
passthru.updateScript = nix-update-script {
attrPath = pname;
};
meta = with lib; {
homepage = "https://github.com/Alecaddd/taxi";
2018-09-08 09:28:54 +01:00
description = "The FTP Client that drives you anywhere";
license = licenses.lgpl3Plus;
2021-08-02 01:46:24 +01:00
maintainers = with maintainers; [ AndersonTorres ] ++ teams.pantheon.members;
platforms = platforms.linux;
mainProgram = "com.github.alecaddd.taxi";
2018-09-08 09:28:54 +01:00
};
}