@@ -0,0 +1,28 @@
1+{ lib, rustPlatform, fetchFromGitHub }:
2+
3+rustPlatform.buildRustPackage rec {
4+ pname = "svgbob";
5+ version = "unstable-2018-10-05";
6+
7+ src = fetchFromGitHub {
8+ owner = "ivanceras";
9+ repo = pname;
10+ rev = "43fb0364e989d0e9a7656b148c947d47cc769622";
11+ sha256 = "1imjj57dx1af3wrs214yzaa2qfk8ld00nj3nx4z450gw2xjjj1gw";
12+ };
13+
14+ sourceRoot = "source/svgbob_cli";
15+
16+ cargoSha256 = "0mnq1s809f394x83gjv9zljr07c94k48zkrwxs6ibi19shgmrnnd";
17+
18+ # Test tries to build outdated examples
19+ doCheck = false;
20+
21+ meta = with lib; {
22+ description = "Convert your ascii diagram scribbles into happy little SVG";
23+ homepage = "https://github.com/ivanceras/svgbob";
24+ license = licenses.asl20;
25+ maintainers = [ maintainers.marsam ];
26+ platforms = platforms.all;
27+ };
28+}