json-plot: init at 1.1.12

Fixes #85479
This commit is contained in:
Colin Arnott 2022-11-01 10:36:43 +00:00
parent f627f3a2b5
commit 456fd57a05
No known key found for this signature in database
GPG Key ID: 0447A663F7F3E236
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ lib
, fetchFromGitHub
, buildGoPackage
}:
# upstream is pretty stale, but it still works, so until they merge module
# support we have to use gopath: see sgreben/jp#29
buildGoPackage rec {
pname = "json-plot";
version = "1.1.12";
src = fetchFromGitHub {
owner = "sgreben";
repo = "jp";
rev = version;
hash = "sha256-WWARAh/CF3lGli3VLRzAGaCA8xQyryPi8WcuwvdInjk=";
};
goPackagePath = "github.com/sgreben/jp";
meta = with lib; {
description = "Dead simple terminal plots from JSON (or CSV) data. Bar charts, line charts, scatter plots, histograms and heatmaps are supported.";
homepage = "https://github.com/sgreben/jp";
license = licenses.mit;
maintainers = with maintainers; [ urandom ];
mainProgram = "jp";
};
}

View File

@ -27277,6 +27277,8 @@ with pkgs;
join-desktop = callPackage ../applications/misc/join-desktop { };
json-plot = callPackage ../applications/graphics/json-plot {};
libbitcoin = callPackage ../tools/misc/libbitcoin/libbitcoin.nix {
boost = boost175; # fatal error: 'boost/interprocess/detail/posix_time_types_wrk.hpp' file not found
};