about summary refs log tree commit diff
path: root/pkgs/tools/graphics/svgbob
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2019-06-11 20:00:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2019-06-11 20:00:00 -0500
commit7f645e6f1c3795126322772686656bbb0fe69df3 (patch)
tree4d5efeb225c12c0ff0e61a533cb904343f9e4295 /pkgs/tools/graphics/svgbob
parente37d6efadcf1adc3f579cabe728d16a7a73d7fe3 (diff)
downloadnixlib-7f645e6f1c3795126322772686656bbb0fe69df3.tar
nixlib-7f645e6f1c3795126322772686656bbb0fe69df3.tar.gz
nixlib-7f645e6f1c3795126322772686656bbb0fe69df3.tar.bz2
nixlib-7f645e6f1c3795126322772686656bbb0fe69df3.tar.lz
nixlib-7f645e6f1c3795126322772686656bbb0fe69df3.tar.xz
nixlib-7f645e6f1c3795126322772686656bbb0fe69df3.tar.zst
nixlib-7f645e6f1c3795126322772686656bbb0fe69df3.zip
svgbob: init at 2018-10-05
Diffstat (limited to 'pkgs/tools/graphics/svgbob')
-rw-r--r--pkgs/tools/graphics/svgbob/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/svgbob/default.nix b/pkgs/tools/graphics/svgbob/default.nix
new file mode 100644
index 000000000000..ecf982c21cda
--- /dev/null
+++ b/pkgs/tools/graphics/svgbob/default.nix
@@ -0,0 +1,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;
+  };
+}