libxisf: init at 0.2.3

This commit is contained in:
Nicolas Benes 2023-04-17 01:46:07 +02:00
parent 05a26cee27
commit a632358710
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,47 @@
{ lib
, stdenv
, fetchFromGitea
, cmake
, pkg-config
, lz4
, pugixml
, zlib
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libxisf";
version = "0.2.3";
src = fetchFromGitea {
domain = "gitea.nouspiro.space";
owner = "nou";
repo = "libXISF";
rev = "v${finalAttrs.version}";
hash = "sha256-u5EYnRO2rUV8ofLL9qfACeVvVbWXEXpkqh2Q4OOxpaQ=";
};
nativeBuildInputs = [
cmake
pkg-config
];
cmakeFlags = [
"-DUSE_BUNDLED_LIBS=OFF"
] ++ lib.optional stdenv.hostPlatform.isStatic "-DBUILD_SHARED_LIBS=OFF";
buildInputs = [
lz4
pugixml
zlib
];
doCheck = true;
meta = with lib; {
description = "Library to load and write XISF format from PixInsight";
homepage = "https://gitea.nouspiro.space/nou/libXISF";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ panicgh ];
platforms = platforms.linux;
};
})

View file

@ -22342,6 +22342,8 @@ with pkgs;
libxdg_basedir = callPackage ../development/libraries/libxdg-basedir { };
libxisf = callPackage ../development/libraries/science/astronomy/libxisf { };
libxkbcommon = libxkbcommon_8;
libxkbcommon_8 = callPackage ../development/libraries/libxkbcommon { };
libxkbcommon_7 = callPackage ../development/libraries/libxkbcommon/libxkbcommon_7.nix { };