mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
parent
f627f3a2b5
commit
456fd57a05
27
pkgs/applications/graphics/json-plot/default.nix
Normal file
27
pkgs/applications/graphics/json-plot/default.nix
Normal 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";
|
||||
};
|
||||
}
|
@ -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
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user