2021-07-15 06:20:00 +02:00
|
|
|
{ lib, rustPlatform, fetchCrate }:
|
2019-06-12 03:00:00 +02:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "svgbob";
|
2022-02-28 10:25:59 +01:00
|
|
|
version = "0.6.6";
|
2019-06-12 03:00:00 +02:00
|
|
|
|
2021-07-15 06:20:00 +02:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit version;
|
|
|
|
crateName = "svgbob_cli";
|
2022-02-28 10:25:59 +01:00
|
|
|
sha256 = "sha256-NG5UbUv//03PVs5QoLVDkgA6Fc3SWKtbgIpcvcb7rW0=";
|
2019-06-12 03:00:00 +02:00
|
|
|
};
|
|
|
|
|
2022-02-28 10:25:59 +01:00
|
|
|
cargoSha256 = "sha256-CdPTtn0NTcEAQvLTh4vdG053oZNNMmbP5IxmMU4YGAw=";
|
2022-02-20 16:12:00 +01:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mv $out/bin/svgbob_cli $out/bin/svgbob
|
|
|
|
'';
|
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 ];
|
|
|
|
};
|
|
|
|
}
|