1be0098156
GitOrigin-RevId: 667e5581d16745bcda791300ae7e2d73f49fff25
33 lines
674 B
Nix
33 lines
674 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, wrapQtAppsHook
|
|
, glm
|
|
, eigen
|
|
, qtbase
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "calcmysky";
|
|
version = "0.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "10110111";
|
|
repo = "CalcMySky";
|
|
rev = "v${version}";
|
|
hash = "sha256-0tHxHek4wqJKLl54zF7wDYN+UPL2y35/YAb6Dtg4k48=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake wrapQtAppsHook ];
|
|
buildInputs = [ glm eigen qtbase ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib;{
|
|
description = "Simulator of light scattering by planetary atmospheres";
|
|
homepage = "https://github.com/10110111/CalcMySky";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ nickcao ];
|
|
};
|
|
}
|