summary refs log tree commit diff
path: root/pkgs/tools/graphics/svgbob/default.nix
blob: ecf982c21cdae108469bfff2bd0195b639240f69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib, rustPlatform, fetchFromGitHub }:

rustPlatform.buildRustPackage rec {
  pname = "svgbob";
  version = "unstable-2018-10-05";

  src = fetchFromGitHub {
    owner = "ivanceras";
    repo = pname;
    rev = "43fb0364e989d0e9a7656b148c947d47cc769622";
    sha256 = "1imjj57dx1af3wrs214yzaa2qfk8ld00nj3nx4z450gw2xjjj1gw";
  };

  sourceRoot = "source/svgbob_cli";

  cargoSha256 = "0mnq1s809f394x83gjv9zljr07c94k48zkrwxs6ibi19shgmrnnd";

  # Test tries to build outdated examples
  doCheck = false;

  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 ];
    platforms = platforms.all;
  };
}