mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
commit
dd547031af
@ -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;
|
||||
};
|
||||
})
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user