2021-07-25 13:05:11 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
|
|
|
, desktop-file-utils, glib, gtk3, meson, ninja, pkg-config, python3, vala
|
|
|
|
, wrapGAppsHook
|
|
|
|
, glib-networking, gobject-introspection, json-glib, libgee, libhandy, libsoup
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "markets";
|
2021-10-13 18:27:56 +01:00
|
|
|
version = "0.5.3";
|
2021-07-25 13:05:11 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bitstower";
|
|
|
|
repo = "markets";
|
|
|
|
rev = version;
|
2021-10-13 18:27:56 +01:00
|
|
|
sha256 = "0sfdmz7cp8i2bymippp8jyxsidxjn69v9cqm40q77j81kfm84bfv";
|
2021-07-25 13:05:11 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils glib gtk3 meson ninja pkg-config python3 vala
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
glib glib-networking gobject-introspection 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;
|
|
|
|
};
|
|
|
|
}
|