From 3dd5066dd323c0ecb40765c7192ccf0de512bed8 Mon Sep 17 00:00:00 2001 From: figsoda Date: Mon, 21 Aug 2023 20:49:24 -0400 Subject: [PATCH] csv2svg: init at 0.1.9 https://github.com/Canop/csv2svg --- pkgs/tools/graphics/csv2svg/default.nix | 24 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/tools/graphics/csv2svg/default.nix diff --git a/pkgs/tools/graphics/csv2svg/default.nix b/pkgs/tools/graphics/csv2svg/default.nix new file mode 100644 index 000000000000..e8c28cf51a61 --- /dev/null +++ b/pkgs/tools/graphics/csv2svg/default.nix @@ -0,0 +1,24 @@ +{ lib +, rustPlatform +, fetchCrate +}: + +rustPlatform.buildRustPackage rec { + pname = "csv2svg"; + version = "0.1.9"; + + src = fetchCrate { + inherit pname version; + hash = "sha256-3VebLFkeJLK97jqoPXt4Wt6QTR0Zyu+eQV9oaLBSeHE="; + }; + + cargoHash = "sha256-EIsKb9BzM+H3BO7OpoTmvIvGd578gYSq5vU18BejT0s="; + + meta = with lib; { + description = "Take a csv as input and outputs svg"; + homepage = "https://github.com/Canop/csv2svg"; + license = licenses.mit; + maintainers = with maintainers; [ figsoda ]; + mainProgram = "csv2svg"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8b1857254af0..7c9d29efe77b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -31019,6 +31019,8 @@ with pkgs; csdp = callPackage ../applications/science/math/csdp { }; + csv2svg = callPackage ../tools/graphics/csv2svg { }; + ctop = callPackage ../tools/system/ctop { }; cubicsdr = callPackage ../applications/radio/cubicsdr {