forked from mirrors/nixpkgs
svgbob: 0.4.2 -> 0.5.3
This commit is contained in:
parent
10b82fbfbc
commit
8bd9288cc5
|
@ -1,25 +1,16 @@
|
||||||
{ lib, rustPlatform, fetchFromGitHub }:
|
{ lib, rustPlatform, fetchCrate }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "svgbob";
|
pname = "svgbob";
|
||||||
version = "0.4.2";
|
version = "0.5.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchCrate {
|
||||||
owner = "ivanceras";
|
inherit version;
|
||||||
repo = pname;
|
crateName = "svgbob_cli";
|
||||||
rev = "0febc4377134a2ea3b3cd43ebdf5ea688a0e7432";
|
sha256 = "1gi8h4wzpi477y1gwi4708pn2kr65934a4dmphbhwppxbw447qiw";
|
||||||
sha256 = "1n0w5b3fjgbczy1iw52172x1p3y1bvw1qpz77fkaxkhrkgfd7vwr";
|
|
||||||
};
|
};
|
||||||
sourceRoot = "source/svgbob_cli";
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace ../svgbob/src/lib.rs \
|
|
||||||
--replace '#![deny(warnings)]' ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
cargoSha256 = "1jyycr95gjginx6bzmay9b5dbpnbwdqbv13w1qy58znicsmh3v8a";
|
cargoSha256 = "1x8phpllwm12igaachghwq6wgxl7nl8bhh7xybfrmn447viwxhq2";
|
||||||
|
|
||||||
# Test tries to build outdated examples
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Convert your ascii diagram scribbles into happy little SVG";
|
description = "Convert your ascii diagram scribbles into happy little SVG";
|
||||||
|
|
Loading…
Reference in a new issue