forked from mirrors/nixpkgs
eb11feaa0b
Changes the default fetcher in the Rust Platform to be the newer `fetchCargoTarball`, and changes every application using the current default to instead opt out. This commit does not change any hashes or cause any rebuilds. Once integrated, we will start deleting the opt-outs and recomputing hashes. See #79975 for details.
32 lines
839 B
Nix
32 lines
839 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "svgbob";
|
|
version = "0.4.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ivanceras";
|
|
repo = pname;
|
|
rev = "0febc4377134a2ea3b3cd43ebdf5ea688a0e7432";
|
|
sha256 = "1n0w5b3fjgbczy1iw52172x1p3y1bvw1qpz77fkaxkhrkgfd7vwr";
|
|
};
|
|
|
|
sourceRoot = "source/svgbob_cli";
|
|
|
|
# Delete this on next update; see #79975 for details
|
|
legacyCargoFetcher = true;
|
|
|
|
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;
|
|
};
|
|
}
|