numbat: Add version tests

This commit is contained in:
Guillaume Fournier
2023-11-04 00:00:27 +01:00
parent e76720c537
commit 5a39df91c1
+6
View File
@@ -1,8 +1,10 @@
{ lib
, stdenv
, testers
, fetchFromGitHub
, rustPlatform
, darwin
, numbat
}:
rustPlatform.buildRustPackage rec {
@@ -22,6 +24,10 @@ rustPlatform.buildRustPackage rec {
darwin.apple_sdk.frameworks.Security
];
passthru.tests.version = testers.testVersion {
package = numbat;
};
meta = with lib; {
description = "High precision scientific calculator with full support for physical units";
longDescription = ''