Merge pull request #103338 from hjones2199/siril

This commit is contained in:
Sandro 2020-12-11 07:35:23 +01:00 committed by GitHub
commit f1e3b5160e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 72 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{ stdenv, fetchFromGitLab, fetchFromGitHub, pkg-config, meson, ninja,
git, criterion, wrapGAppsHook, gtk3, libconfig, gnuplot, opencv,
fftwFloat, cfitsio, gsl, exiv2, curl, librtprocess, ffmpeg,
libraw, libtiff, libpng, libjpeg, libheif, ffms
}:
stdenv.mkDerivation rec {
pname = "siril";
version = "0.99.6";
src = fetchFromGitLab {
owner = "free-astro";
repo = pname;
rev = version;
sha256 = "06vh8x45gv0gwlnqjwxglf12jmpdaxkiv5sixkqh20420wabx3ha";
};
nativeBuildInputs = [
meson ninja pkg-config git criterion wrapGAppsHook
];
buildInputs = [
gtk3 cfitsio gsl exiv2 gnuplot curl opencv fftwFloat librtprocess
libconfig libraw libtiff libpng libjpeg libheif ffms ffmpeg
];
# Necessary because project uses default build dir for flatpaks/snaps
dontUseMesonConfigure = true;
configureScript = ''
${meson}/bin/meson --buildtype release nixbld .
'';
postConfigure = ''
cd nixbld
'';
meta = with stdenv.lib; {
homepage = "https://www.siril.org/";
description = "Astronomical image processing tool";
license = licenses.gpl3;
maintainers = with maintainers; [ hjones2199 ];
platforms = [ "x86_64-linux" ];
};
}

View File

@ -0,0 +1,23 @@
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "librtprocess";
version = "0.11.0";
src = fetchFromGitHub {
owner = "CarVac";
repo = pname;
rev = version;
sha256 = "1bivy3rymmmkdx5phbxq4qaq15hw633dgpks57z9ara15mh817xx";
};
nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; {
homepage = "https://github.com/CarVac/librtprocess";
description = "Highly optimized library for processing RAW images";
license = licenses.gpl3;
maintainers = with maintainers; [ hjones2199 ];
platforms = [ "x86_64-linux" ];
};
}

View File

@ -7289,6 +7289,8 @@ in
sipsak = callPackage ../tools/networking/sipsak { };
siril = callPackage ../applications/science/astronomy/siril { };
sisco.lv2 = callPackage ../applications/audio/sisco.lv2 { };
sit = callPackage ../applications/version-management/sit {
@ -14276,6 +14278,8 @@ in
librime = callPackage ../development/libraries/librime {};
librtprocess = callPackage ../development/libraries/librtprocess { };
libsamplerate = callPackage ../development/libraries/libsamplerate {
inherit (darwin.apple_sdk.frameworks) ApplicationServices Carbon CoreServices;
};