48 lines
1008 B
Nix
48 lines
1008 B
Nix
|
{ stdenv, fetchFromGitHub, vala, pkgconfig, meson, ninja, python3, granite
|
||
|
, gtk3, gnome3, libsoup, libsecret, gobjectIntrospection, wrapGAppsHook }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "taxi";
|
||
|
version = "0.0.1";
|
||
|
|
||
|
name = "${pname}-${version}";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "Alecaddd";
|
||
|
repo = pname;
|
||
|
rev = "v${version}";
|
||
|
sha256 = "01c552w68576pnsyqbwy3hjhbww6vys3r3s0wxjdiscjqj1aawqg";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [
|
||
|
gobjectIntrospection
|
||
|
meson
|
||
|
ninja
|
||
|
pkgconfig
|
||
|
python3
|
||
|
vala
|
||
|
wrapGAppsHook
|
||
|
];
|
||
|
|
||
|
buildInputs = [
|
||
|
gnome3.libgee
|
||
|
granite
|
||
|
gtk3
|
||
|
libsecret
|
||
|
libsoup
|
||
|
];
|
||
|
|
||
|
postPatch = ''
|
||
|
chmod +x meson/post_install.py
|
||
|
patchShebangs meson/post_install.py
|
||
|
'';
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
description = "The FTP Client that drives you anywhere";
|
||
|
homepage = https://github.com/Alecaddd/taxi;
|
||
|
license = licenses.gpl3Plus;
|
||
|
maintainers = with maintainers; [ worldofpeace ];
|
||
|
platforms = platforms.linux;
|
||
|
};
|
||
|
}
|