btrbk: add mainProgram
[NixPkgs.git] / pkgs / by-name / cs / csv2svg / package.nix
blobe8c28cf51a6146fd7edc333e36a9049f0032686b
1 { lib
2 , rustPlatform
3 , fetchCrate
4 }:
6 rustPlatform.buildRustPackage rec {
7   pname = "csv2svg";
8   version = "0.1.9";
10   src = fetchCrate {
11     inherit pname version;
12     hash = "sha256-3VebLFkeJLK97jqoPXt4Wt6QTR0Zyu+eQV9oaLBSeHE=";
13   };
15   cargoHash = "sha256-EIsKb9BzM+H3BO7OpoTmvIvGd578gYSq5vU18BejT0s=";
17   meta = with lib; {
18     description = "Take a csv as input and outputs svg";
19     homepage = "https://github.com/Canop/csv2svg";
20     license = licenses.mit;
21     maintainers = with maintainers; [ figsoda ];
22     mainProgram = "csv2svg";
23   };