Loading pkgs/development/tools/rust/cargo-insta/default.nix +13 −4 Original line number Diff line number Diff line { lib, rustPlatform, fetchFromGitHub, libiconv, stdenv }: { lib , stdenv , rustPlatform , fetchFromGitHub , libiconv }: rustPlatform.buildRustPackage rec { pname = "cargo-insta"; Loading @@ -7,13 +12,17 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "mitsuhiko"; repo = "insta"; rev = version; sha256 = "sha256-GqM3b2evjACNkTOyfA6N6TInuGo9f/1retkXVTgbJ3A="; rev = "refs/tags/${version}"; hash = "sha256-GqM3b2evjACNkTOyfA6N6TInuGo9f/1retkXVTgbJ3A="; }; sourceRoot = "source/cargo-insta"; cargoHash = "sha256-ZIS3O19N7w+sL+2IdoCw4/Hx9Jtjx7MYE7JcEu+PFRA="; buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; meta = with lib; { description = "A Cargo subcommand for snapshot testing"; Loading Loading
pkgs/development/tools/rust/cargo-insta/default.nix +13 −4 Original line number Diff line number Diff line { lib, rustPlatform, fetchFromGitHub, libiconv, stdenv }: { lib , stdenv , rustPlatform , fetchFromGitHub , libiconv }: rustPlatform.buildRustPackage rec { pname = "cargo-insta"; Loading @@ -7,13 +12,17 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "mitsuhiko"; repo = "insta"; rev = version; sha256 = "sha256-GqM3b2evjACNkTOyfA6N6TInuGo9f/1retkXVTgbJ3A="; rev = "refs/tags/${version}"; hash = "sha256-GqM3b2evjACNkTOyfA6N6TInuGo9f/1retkXVTgbJ3A="; }; sourceRoot = "source/cargo-insta"; cargoHash = "sha256-ZIS3O19N7w+sL+2IdoCw4/Hx9Jtjx7MYE7JcEu+PFRA="; buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; meta = with lib; { description = "A Cargo subcommand for snapshot testing"; Loading