Loading pkgs/by-name/ca/cargo-hack/package.nix +16 −5 Original line number Diff line number Diff line Loading @@ -2,14 +2,15 @@ lib, rustPlatform, fetchCrate, nix-update-script, }: rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-hack"; version = "0.6.39"; src = fetchCrate { inherit pname version; inherit (finalAttrs) pname version; hash = "sha256-0+2bgjCgkZA8oYo5jkykB2US+LVVNo1tVk4smxYB6f4="; }; Loading @@ -18,15 +19,25 @@ rustPlatform.buildRustPackage rec { # some necessary files are absent in the crate version doCheck = false; # versionCheckHook doesn't support multiple arguments yet doInstallCheck = true; installCheckPhase = '' runHook preInstallCheck $out/bin/cargo-hack hack --version | grep -F 'cargo-hack ${finalAttrs.version}' runHook postInstallCheck ''; passthru.updateScript = nix-update-script { }; meta = { description = "Cargo subcommand to provide various options useful for testing and continuous integration"; mainProgram = "cargo-hack"; homepage = "https://github.com/taiki-e/cargo-hack"; changelog = "https://github.com/taiki-e/cargo-hack/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/taiki-e/cargo-hack/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ asl20 # or mit ]; maintainers = [ ]; maintainers = with lib.maintainers; [ defelo ]; }; } }) Loading
pkgs/by-name/ca/cargo-hack/package.nix +16 −5 Original line number Diff line number Diff line Loading @@ -2,14 +2,15 @@ lib, rustPlatform, fetchCrate, nix-update-script, }: rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-hack"; version = "0.6.39"; src = fetchCrate { inherit pname version; inherit (finalAttrs) pname version; hash = "sha256-0+2bgjCgkZA8oYo5jkykB2US+LVVNo1tVk4smxYB6f4="; }; Loading @@ -18,15 +19,25 @@ rustPlatform.buildRustPackage rec { # some necessary files are absent in the crate version doCheck = false; # versionCheckHook doesn't support multiple arguments yet doInstallCheck = true; installCheckPhase = '' runHook preInstallCheck $out/bin/cargo-hack hack --version | grep -F 'cargo-hack ${finalAttrs.version}' runHook postInstallCheck ''; passthru.updateScript = nix-update-script { }; meta = { description = "Cargo subcommand to provide various options useful for testing and continuous integration"; mainProgram = "cargo-hack"; homepage = "https://github.com/taiki-e/cargo-hack"; changelog = "https://github.com/taiki-e/cargo-hack/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/taiki-e/cargo-hack/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ asl20 # or mit ]; maintainers = [ ]; maintainers = with lib.maintainers; [ defelo ]; }; } })