pkgs: run all tests via cargo-nextest

Disable tests for packages that don't have any
This commit is contained in:
Harsh Shandilya 2023-08-21 15:32:31 +05:30
parent eee4a24a2f
commit 2a98ef842b
No known key found for this signature in database
13 changed files with 26 additions and 0 deletions

View File

@ -18,6 +18,8 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-Y8quDq4dz9m92g0xrjb2KZ3BIlJwrH3CtCgY78wpCiA=";
useNextest = true;
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];

View File

@ -20,6 +20,8 @@ rustPlatform.buildRustPackage rec {
buildFeatures = lib.optionals stdenv.isLinux ["journald"];
cargoHash = "sha256-aGBbni1faj2yA+qZPytHna90b/1/iObu4ECnpR3uIpU=";
useNextest = true;
buildInputs =
lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.AppKit

View File

@ -24,6 +24,8 @@ in
cargoHash = "sha256-UefcLP/V14PEvDPhcjacoUmsFMxwN/lW1pR/lio1EfU=";
useNextest = true;
meta = with lib; {
description = "Snapshot your local git repositories for easy restoration";
homepage = "https://github.com/msfjarvis/gitice";

View File

@ -24,6 +24,8 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-v8mpH1akao35P8ePFTFLBidkPW+vzsaMg4h51TudYMM=";
useNextest = true;
meta = with lib; {
description = "Simple CLI tool to keep a track of your https://healthchecks.io account";
homepage = "https://msfjarvis.dev/g/healthchecks-rs";

View File

@ -24,6 +24,8 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-2+dV0mIvbDqXqRfNCBhqUVRYhpcPB2oxD67GBkEDW48=";
useNextest = true;
meta = with lib; {
description = "CLI tool to run shell jobs and report status to https://healthchecks.io";
homepage = "https://msfjarvis.dev/g/healthchecks-rs";

View File

@ -16,6 +16,8 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-5j1Ziwk5uQNIKCRMZpJP4qR0tcyUUvT8i/KZbXq3WzI=";
doCheck = false;
meta = with lib; {
description = "Very fast link checker for CI";
homepage = "https://github.com/untitaker/hyperlink";

View File

@ -18,6 +18,8 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-Wbcw2eMD2OtL7qp8XL2Ri60yuyisiQRatY77egtEKlg=";
doCheck = false;
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];

View File

@ -30,6 +30,8 @@ in
cargoHash = "sha256-o9ERriufop5PWrlZH9WQArG5I33O8MsSkWoKCf2CYn8=";
useNextest = true;
meta = with lib; {
description = "A Telegram bot with an identity crisis";
homepage = "https://msfjarvis.dev/g/linkleaner/";

View File

@ -20,6 +20,8 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-SlKnr5f0Io94iHMb3lyOiKOQ1HKfOBkireZWk6h6Sdg=";
doCheck = false;
nativeBuildInputs = [
pkg-config
];

View File

@ -18,6 +18,8 @@ rustPlatform.buildRustPackage rec {
buildFeatures = lib.optionals stdenv.isLinux ["journald"];
cargoHash = "sha256-Ylb/tKFEweMWdgc1ZJs3WxdF7sRutC0d2oAVXu73nSI=";
useNextest = true;
meta = with lib; {
description = "Simple CLI tool to watch directories and move their files to a single dumping ground";
homepage = "https://github.com/msfjarvis/rucksack";

View File

@ -26,6 +26,8 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-deOXO+NmgETX33vY2KdFdCverojr+i2FdemhGXWZ3NU=";
doCheck = false;
meta = with lib; {
description = "A command line profiler for macOS and Linux";
homepage = "https://github.com/mstange/samply/";

View File

@ -18,6 +18,8 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-Uuf4L7pRX9daoO1wyMD+vsCdvH4iWi86nI6YzPw35wE=";
useNextest = true;
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.CoreFoundation
darwin.apple_sdk.frameworks.Security

View File

@ -17,6 +17,8 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-HhxAk5pLOpn2cRDoPkrxyV27n6IGAI2vkep9j3o275I=";
useNextest = true;
meta = with lib; {
description = "Timezones from the command line";
homepage = "https://github.com/mitsuhiko/when";