blob: 7ff2bb737987b5c6c6d3be85e68b601ed70a0711 (
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
29
|
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-insta";
version = "1.33.0";
src = fetchFromGitHub {
owner = "mitsuhiko";
repo = "insta";
rev = "refs/tags/${version}";
hash = "sha256-w/dxIQ7KRrn86PwiE/g5L9Gn8KszPF9u/zlwE/FYDu4=";
};
sourceRoot = "${src.name}/cargo-insta";
cargoHash = "sha256-mEtmZ+wFo1WI1IMNYsVqSVScFDLdiXBbghH7c0l/3NQ=";
meta = with lib; {
description = "Cargo subcommand for snapshot testing";
mainProgram = "cargo-insta";
homepage = "https://github.com/mitsuhiko/insta";
changelog = "https://github.com/mitsuhiko/insta/blob/${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ figsoda oxalica matthiasbeyer ];
};
}
|