diff options
author | Luke Granger-Brown <git@lukegb.com> | 2021-07-25 13:59:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-25 13:59:42 +0100 |
commit | 2bcb30e5c65804533f695f0d2ce3e7df5403cae7 (patch) | |
tree | b8fae7d9ceca537e0affcbee954eab01b827ca83 | |
parent | 4d62c8942fb1598dd0593e55f9c4c1a6119aae76 (diff) | |
parent | c7d4d354edc091bd32294ef18e1ffe1ce012ddc6 (diff) | |
download | nixpkgs-2bcb30e5c65804533f695f0d2ce3e7df5403cae7.tar nixpkgs-2bcb30e5c65804533f695f0d2ce3e7df5403cae7.tar.gz nixpkgs-2bcb30e5c65804533f695f0d2ce3e7df5403cae7.tar.bz2 nixpkgs-2bcb30e5c65804533f695f0d2ce3e7df5403cae7.tar.lz nixpkgs-2bcb30e5c65804533f695f0d2ce3e7df5403cae7.tar.xz nixpkgs-2bcb30e5c65804533f695f0d2ce3e7df5403cae7.tar.zst nixpkgs-2bcb30e5c65804533f695f0d2ce3e7df5403cae7.zip |
Merge pull request #131468 from alyssais/markets
markets: init at 0.5.2
-rw-r--r-- | pkgs/applications/misc/markets/default.nix | 42 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/applications/misc/markets/default.nix b/pkgs/applications/misc/markets/default.nix new file mode 100644 index 00000000000..bd9dd7ac950 --- /dev/null +++ b/pkgs/applications/misc/markets/default.nix @@ -0,0 +1,42 @@ +{ 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"; + version = "0.5.2"; + + src = fetchFromGitHub { + owner = "bitstower"; + repo = "markets"; + rev = version; + sha256 = "0nk1bs7i6b7r90g5qwd3s2m462vk3kvza0drq7rzb5sdaiz9ccnz"; + }; + + 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 80eebdeb35f..107722e6e10 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -25560,6 +25560,8 @@ in mark = callPackage ../tools/text/mark { }; + markets = callPackage ../applications/misc/markets { }; + marp = callPackage ../applications/office/marp { }; magnetico = callPackage ../applications/networking/p2p/magnetico { }; |