bcal: modernize

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
Ethan Carter Edwards
2026-09-05 21:53:17 -04:00
parent 60d58d8cae
commit 8dea5bc2c8

View File

@@ -5,12 +5,16 @@
readline,
bc,
python3Packages,
versionCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "bcal";
version = "2.6";
strictDeps = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "jarun";
repo = "bcal";
@@ -29,6 +33,9 @@ stdenv.mkDerivation (finalAttrs: {
python3Packages.pytestCheckHook
];
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
enabledTestPaths = [ "test.py" ];
meta = {