mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
tblite: cleanup
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user