diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-01-19 16:54:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 16:54:33 +0100 |
commit | 1e5e5bdf34813e112a92b98e41816b18ac558cf7 (patch) | |
tree | 0ba8be1516d8d6f7c1a411f7356e3e8eb82d8fe6 /pkgs/tools/graphics | |
parent | 48e2a272704024d378e36decac2d12bfdbef53b2 (diff) | |
parent | dcfc3b1d229410833deaa65f0427aac357c551e5 (diff) |
Merge pull request #109562 from leungbk/graph-cli
Diffstat (limited to 'pkgs/tools/graphics')
-rw-r--r-- | pkgs/tools/graphics/graph-cli/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/graph-cli/default.nix b/pkgs/tools/graphics/graph-cli/default.nix new file mode 100644 index 000000000000..4da4f50cef82 --- /dev/null +++ b/pkgs/tools/graphics/graph-cli/default.nix @@ -0,0 +1,31 @@ +{ lib +, python3Packages +}: + +python3Packages.buildPythonApplication rec { + pname = "graph-cli"; + version = "0.1.7"; + + src = python3Packages.fetchPypi { + inherit version; + pname = "graph_cli"; + sha256 = "sha256-/v9COgAjuunJ06HHl55J0moV1p4uO+N+w2QwE8tgebQ="; + }; + + propagatedBuildInputs = with python3Packages; [ + numpy + pandas + matplotlib + ]; + + # does not contain tests despite reference in Makefile + doCheck = false; + pythonImportsCheck = [ "graph_cli" ]; + + meta = with lib; { + description = "CLI to create graphs from CSV files"; + homepage = "https://github.com/mcastorina/graph-cli/"; + license = with licenses; [ gpl3Only ]; + maintainers = with maintainers; [ leungbk ]; + }; +} |