Merge pull request #226549 from panicgh/libxisf

libxisf: init at 0.2.3
This commit is contained in:
Mario Rodas 2023-04-20 19:51:41 -05:00 committed by GitHub
commit dd547031af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -22378,6 +22378,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 { };