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

22 lines
566 B
Nix
Raw Normal View History

2021-07-15 04:20:00 +00:00
{ lib, rustPlatform, fetchCrate }:
2019-06-12 01:00:00 +00:00
rustPlatform.buildRustPackage rec {
pname = "svgbob";
2022-02-10 09:32:19 +00:00
version = "0.6.3";
2019-06-12 01:00:00 +00:00
2021-07-15 04:20:00 +00:00
src = fetchCrate {
inherit version;
crateName = "svgbob_cli";
2022-02-10 09:32:19 +00:00
sha256 = "sha256-yYRBV0s19J0M02wenGayy7Ebx6wDhiLiGmb+os29u9I=";
2019-06-12 01:00:00 +00:00
};
2022-02-10 09:32:19 +00:00
cargoSha256 = "sha256-R4W+Oe7Ks2D9qE1IpV6/AMMMwZnCfJ5DzxFAMpV2rFE=";
2019-06-12 01:00:00 +00: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 ];
};
}