nixpkgs-suyu/pkgs/applications/science/astronomy/siril/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
1.3 KiB
Nix
Raw Normal View History

2021-06-26 03:07:50 +02:00
{ lib, stdenv, fetchFromGitLab, pkg-config, meson, ninja
2021-02-24 21:20:13 +01:00
, git, criterion, gtk3, libconfig, gnuplot, opencv, json-glib
, fftwFloat, cfitsio, gsl, exiv2, librtprocess, wcslib, ffmpeg
, libraw, libtiff, libpng, libjpeg, libheif, ffms, wrapGAppsHook
2020-11-10 20:46:33 +01:00
}:
stdenv.mkDerivation rec {
pname = "siril";
2022-03-10 23:40:03 +01:00
version = "1.0.0";
2020-11-10 20:46:33 +01:00
src = fetchFromGitLab {
owner = "free-astro";
repo = pname;
rev = version;
2022-03-10 23:40:03 +01:00
sha256 = "sha256-yqWFEa1fnSwl0ecN9hMI13QCfj0f69CFqTJlEAhTpJI=";
2020-11-10 20:46:33 +01:00
};
nativeBuildInputs = [
meson ninja pkg-config git criterion wrapGAppsHook
];
buildInputs = [
2021-02-24 21:20:13 +01:00
gtk3 cfitsio gsl exiv2 gnuplot opencv fftwFloat librtprocess wcslib
libconfig libraw libtiff libpng libjpeg libheif ffms ffmpeg json-glib
2020-11-10 20:46:33 +01:00
];
# Necessary because project uses default build dir for flatpaks/snaps
dontUseMesonConfigure = true;
configureScript = ''
${meson}/bin/meson --buildtype release nixbld .
'';
postConfigure = ''
cd nixbld
'';
meta = with lib; {
2020-11-10 20:46:33 +01:00
homepage = "https://www.siril.org/";
2021-02-24 21:20:13 +01:00
description = "Astrophotographic image processing tool";
license = licenses.gpl3Plus;
2021-06-26 03:07:50 +02:00
changelog = "https://gitlab.com/free-astro/siril/-/blob/HEAD/ChangeLog";
2020-11-10 20:46:33 +01:00
maintainers = with maintainers; [ hjones2199 ];
2021-06-26 03:07:50 +02:00
platforms = platforms.linux;
2020-11-10 20:46:33 +01:00
};
}