tblite: cleanup

This commit is contained in:
Gaetan Lepage
2026-06-10 11:56:43 +00:00
parent f1e4d1e986
commit 984462d5f1

View File

@@ -27,14 +27,16 @@ assert (
]
);
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "tblite";
version = "0.6.0";
__structuredAttrs = true;
strictDeps = true;
src = fetchFromGitHub {
owner = "tblite";
repo = "tblite";
rev = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-z0g+bf6APqNLB9mDE49FelitQ9ptZXdFQuYeXIT0NIw=";
};
@@ -86,7 +88,9 @@ stdenv.mkDerivation rec {
"dev"
];
checkInputs = [
nativeCheckInputs = [
# Runs python test drivers (test/*/tester.py) during checkPhase, so it must be available on the
# build host (strictDeps)
python3
];
@@ -108,7 +112,8 @@ stdenv.mkDerivation rec {
lgpl3Plus
];
homepage = "https://github.com/tblite/tblite";
changelog = "https://github.com/tblite/tblite/releases/tag/${finalAttrs.src.tag}";
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.sheepforce ];
};
}
})