uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
79
pkgs/applications/terminal-emulators/tilix/default.nix
Normal file
79
pkgs/applications/terminal-emulators/tilix/default.nix
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, meson
|
||||
, ninja
|
||||
, python3
|
||||
, pkg-config
|
||||
, ldc
|
||||
, dconf
|
||||
, dbus
|
||||
, gsettings-desktop-schemas
|
||||
, desktop-file-utils
|
||||
, gettext
|
||||
, gtkd
|
||||
, libsecret
|
||||
, glib
|
||||
, wrapGAppsHook
|
||||
, libunwind
|
||||
, appstream
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tilix";
|
||||
version = "1.9.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gnunn1";
|
||||
repo = "tilix";
|
||||
rev = version;
|
||||
sha256 = "sha256-sPVL5oYDOmloRVm/nONKkC20vZc907c7ixBF6E2PQ8Y=";
|
||||
};
|
||||
|
||||
# Default upstream else LDC fails to link
|
||||
mesonBuildType = [
|
||||
"debugoptimized"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
desktop-file-utils
|
||||
ldc
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
python3
|
||||
wrapGAppsHook
|
||||
appstream
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
dbus
|
||||
gettext
|
||||
dconf
|
||||
gsettings-desktop-schemas
|
||||
gtkd
|
||||
libsecret
|
||||
libunwind
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
chmod +x meson_post_install.py
|
||||
patchShebangs meson_post_install.py
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
substituteInPlace $out/share/applications/com.gexperts.Tilix.desktop \
|
||||
--replace "Exec=tilix" "Exec=$out/bin/tilix"
|
||||
'';
|
||||
|
||||
passthru.tests.test = nixosTests.terminal-emulators.tilix;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tiling terminal emulator following the Gnome Human Interface Guidelines";
|
||||
homepage = "https://gnunn1.github.io/tilix-web";
|
||||
license = licenses.mpl20;
|
||||
maintainers = with maintainers; [ midchildan ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue