diff options
author | Hunter Jones <hjones2199@gmail.com> | 2020-10-30 18:46:57 -0500 |
---|---|---|
committer | Hunter Jones <hjones2199@gmail.com> | 2020-11-24 21:31:58 -0600 |
commit | d14952311e5306073820f3e2dc13d6af81731659 (patch) | |
tree | 3f7f9cd297fa688f0e64b76b909877691869c418 /pkgs/applications/science | |
parent | a0f0927013eff2ac41b7a306978e1421c7d5721d (diff) |
phd2: init at 2.6.9dev1
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r-- | pkgs/applications/science/astronomy/phd2/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/science/astronomy/phd2/default.nix b/pkgs/applications/science/astronomy/phd2/default.nix new file mode 100644 index 0000000000000..98afba77c4f02 --- /dev/null +++ b/pkgs/applications/science/astronomy/phd2/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchFromGitHub, pkg-config, cmake, gtk3, + wxGTK30-gtk3, curl, gettext, glib, indilib, libnova }: + +stdenv.mkDerivation rec { + pname = "phd2"; + version = "2.6.9dev1"; + + src = fetchFromGitHub { + owner = "OpenPHDGuiding"; + repo = "phd2"; + rev = "v${version}"; + sha256 = "1ih7m9lilh12xbhmwm9kkicaqy72mi3firl6df7m5x38n2zj3zm4"; + }; + + nativeBuildInputs = [ cmake pkg-config ]; + buildInputs = [ gtk3 wxGTK30-gtk3 curl gettext glib indilib libnova ]; + + cmakeFlags = [ + "-DOPENSOURCE_ONLY=1" + ]; + + meta = with stdenv.lib; { + homepage = "https://openphdguiding.org/"; + description = "Telescope auto-guidance application"; + license = licenses.bsd3; + maintainers = with maintainers; [ hjones2199 ]; + platforms = [ "x86_64-linux" ]; + }; +} |