nixpkgs/pkgs/tools/graphics/svgbob/default.nix

22 lines
566 B
Nix
Raw Normal View History

2021-07-15 06:20:00 +02:00
{ lib, rustPlatform, fetchCrate }:
2019-06-12 03:00:00 +02:00
rustPlatform.buildRustPackage rec {
pname = "svgbob";
2021-09-22 09:08:30 +02:00
version = "0.6.2";
2019-06-12 03:00:00 +02:00
2021-07-15 06:20:00 +02:00
src = fetchCrate {
inherit version;
crateName = "svgbob_cli";
2021-09-22 09:08:30 +02:00
sha256 = "sha256-9JASoUN/VzZS8ihepTQL2SXZitxKBMSJEv+13vzQd3w=";
2019-06-12 03:00:00 +02:00
};
2021-09-22 09:08:30 +02:00
cargoSha256 = "sha256-pkdiow+9gsQ9rrSHwukd17r5CfsaJgYj6KA4wYKbtA0=";
2019-06-12 03:00:00 +02:00
meta = with lib; {
description = "Convert your ascii diagram scribbles into happy little SVG";
homepage = "https://github.com/ivanceras/svgbob";
license = licenses.asl20;
maintainers = [ maintainers.marsam ];
};
}