diff options
Diffstat (limited to 'pkgs/applications/science/astronomy/calcmysky/default.nix')
-rw-r--r-- | pkgs/applications/science/astronomy/calcmysky/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/applications/science/astronomy/calcmysky/default.nix b/pkgs/applications/science/astronomy/calcmysky/default.nix new file mode 100644 index 0000000000000..528fc74394f8f --- /dev/null +++ b/pkgs/applications/science/astronomy/calcmysky/default.nix @@ -0,0 +1,33 @@ +{ 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 ]; + }; +} |