libxisf: init at 0.2.3
This commit is contained in:
parent
05a26cee27
commit
a632358710
|
@ -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;
|
||||
};
|
||||
})
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue