mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 20:23:02 +00:00
26 lines
635 B
Nix
26 lines
635 B
Nix
{ lib, rustPlatform, fetchCrate }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "svgbob";
|
|
version = "0.6.5";
|
|
|
|
src = fetchCrate {
|
|
inherit version;
|
|
crateName = "svgbob_cli";
|
|
sha256 = "sha256-EsOq081wfnuFT0OKqLyi3R105brZwuHJwzEx00c2LGg=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-sBU3GoqUH9cS1Kn0MCysCG9kQsWQqteVui1AHW9bfs0=";
|
|
|
|
postInstall = ''
|
|
mv $out/bin/svgbob_cli $out/bin/svgbob
|
|
'';
|
|
|
|
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 ];
|
|
};
|
|
}
|