mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
eb04659fc2
This was achieved using the following command: sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b') And then manually reverted the following changes: - alias in top-level.nix - function name in wrap-gapps-hook.sh - comment in postFixup of at-spi2-core - comment in gtk4 - comment in preFixup of 1password-gui/linux.nix - comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix - comment in postFixup of telegram-desktop - comment in postFixup of fwupd - buildCommand of mongodb-compass - postFixup of xflux-gui - comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config - description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
42 lines
1.1 KiB
Nix
42 lines
1.1 KiB
Nix
{ lib, stdenv, fetchFromGitHub
|
|
, desktop-file-utils, glib, gtk3, meson, ninja, pkg-config, python3, vala
|
|
, wrapGAppsHook3
|
|
, glib-networking, gobject-introspection, json-glib, libgee, libhandy, libsoup
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "markets";
|
|
version = "0.5.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bitstower";
|
|
repo = "markets";
|
|
rev = version;
|
|
sha256 = "sha256-/g/r/1i69PmPND40zIID3Nun0I4ZFT1EFoNf1qprBjI=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
desktop-file-utils glib gtk3 meson ninja pkg-config python3 vala
|
|
wrapGAppsHook3 gobject-introspection
|
|
];
|
|
buildInputs = [
|
|
glib glib-networking gtk3 json-glib libgee libhandy
|
|
libsoup
|
|
];
|
|
|
|
postPatch = ''
|
|
patchShebangs build-aux/meson/postinstall.py
|
|
'';
|
|
|
|
postInstall = ''
|
|
ln -s bitstower-markets $out/bin/markets
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/bitstower/markets";
|
|
description = "Stock, currency and cryptocurrency tracker";
|
|
maintainers = with maintainers; [ qyliss ];
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|