26 lines
554 B
Nix
26 lines
554 B
Nix
|
|
{
|
||
|
|
lib,
|
||
|
|
rustPlatform,
|
||
|
|
fetchCrate,
|
||
|
|
}:
|
||
|
|
|
||
|
|
rustPlatform.buildRustPackage rec {
|
||
|
|
pname = "csv2svg";
|
||
|
|
version = "0.1.9";
|
||
|
|
|
||
|
|
src = fetchCrate {
|
||
|
|
inherit pname version;
|
||
|
|
hash = "sha256-3VebLFkeJLK97jqoPXt4Wt6QTR0Zyu+eQV9oaLBSeHE=";
|
||
|
|
};
|
||
|
|
|
||
|
|
cargoHash = "sha256-RwpRxSD/oRAYD1udrHt3fy/SrrNUTVdGf+CdzQnJZ2U=";
|
||
|
|
|
||
|
|
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";
|
||
|
|
};
|
||
|
|
}
|