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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
635 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-28 09:25:59 +00:00
version = "0.6.6";
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-28 09:25:59 +00:00
sha256 = "sha256-NG5UbUv//03PVs5QoLVDkgA6Fc3SWKtbgIpcvcb7rW0=";
2019-06-12 01:00:00 +00:00
};
2022-02-28 09:25:59 +00:00
cargoSha256 = "sha256-CdPTtn0NTcEAQvLTh4vdG053oZNNMmbP5IxmMU4YGAw=";
2022-02-20 15:12:00 +00:00
postInstall = ''
mv $out/bin/svgbob_cli $out/bin/svgbob
'';
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 ];
};
}