mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
a211d94291
after https://github.com/Mic92/nix-update/pull/120 and https://github.com/NixOS/nixpkgs/pull/207703, `attrPath` can now be omitted when using `nix-update-script`
66 lines
1.1 KiB
Nix
66 lines
1.1 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, gobject-introspection
|
|
, gtk3
|
|
, libgee
|
|
, libhandy
|
|
, libsecret
|
|
, libsoup
|
|
, meson
|
|
, ninja
|
|
, nix-update-script
|
|
, pantheon
|
|
, pkg-config
|
|
, python3
|
|
, vala
|
|
, wrapGAppsHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "taxi";
|
|
version = "2.0.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Alecaddd";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1a4a14b2d5vqbk56drzbbldp0nngfqhwycpyv8d3svi2nchkvpqa";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
gobject-introspection
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
python3
|
|
vala
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
libgee
|
|
libhandy
|
|
libsecret
|
|
libsoup
|
|
pantheon.granite
|
|
];
|
|
|
|
postPatch = ''
|
|
chmod +x meson/post_install.py
|
|
patchShebangs meson/post_install.py
|
|
'';
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/Alecaddd/taxi";
|
|
description = "The FTP Client that drives you anywhere";
|
|
license = licenses.lgpl3Plus;
|
|
maintainers = with maintainers; [ AndersonTorres ] ++ teams.pantheon.members;
|
|
platforms = platforms.linux;
|
|
mainProgram = "com.github.alecaddd.taxi";
|
|
};
|
|
}
|