Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
49 lines
812 B
Nix
49 lines
812 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
wrapQtAppsHook,
|
|
glm,
|
|
eigen,
|
|
qtbase,
|
|
stellarium,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "calcmysky";
|
|
version = "0.3.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "10110111";
|
|
repo = "CalcMySky";
|
|
tag = "v${version}";
|
|
hash = "sha256-++011c4/IFf/5GKmFostTnxgfEdw3/GJf0e5frscCQ4=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
wrapQtAppsHook
|
|
];
|
|
buildInputs = [
|
|
glm
|
|
eigen
|
|
qtbase
|
|
];
|
|
|
|
cmakeFlags = [ "-DQT_VERSION=6" ];
|
|
|
|
doCheck = true;
|
|
|
|
passthru.tests = {
|
|
inherit stellarium;
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Simulator of light scattering by planetary atmospheres";
|
|
homepage = "https://github.com/10110111/CalcMySky";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ nickcao ];
|
|
};
|
|
}
|