blob: cf762d36de745d6c561d786ac0225bc0e1eb4471 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{ lib
, stdenv
, fetchFromGitHub
, cmake
, wrapQtAppsHook
, glm
, eigen
, qtbase
, stellarium
}:
stdenv.mkDerivation rec {
pname = "calcmysky";
version = "0.3.1";
src = fetchFromGitHub {
owner = "10110111";
repo = "CalcMySky";
rev = "refs/tags/v${version}";
hash = "sha256-oqYOXoIPVqCD3HL7ShNoF89W725hFHX0Ei/yVJNTS5I=";
};
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 ];
};
}
|