Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
47 lines
1000 B
Nix
47 lines
1000 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitLab,
|
|
cmake,
|
|
ninja,
|
|
quilt,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "jxrlib";
|
|
version = "1.2~git20170615.f752187-5.2";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "salsa.debian.org";
|
|
owner = "debian-phototools-team";
|
|
repo = "jxrlib";
|
|
rev = "56e10e601a962c2e8d178e60e52cd8cf2d50f9c0";
|
|
hash = "sha256-BX4kLlFk8AfouKE9KDyG1EFFYLFB/HqYQRxFdjAe2J8=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
ninja
|
|
quilt
|
|
];
|
|
|
|
strictDeps = true;
|
|
|
|
env.NIX_CFLAGS_COMPILE = lib.concatStringsSep " " (
|
|
[ "-Wno-error=implicit-function-declaration" ]
|
|
++ lib.optionals stdenv.cc.isGNU [ "-Wno-error=incompatible-pointer-types" ]
|
|
);
|
|
|
|
postPatch = ''
|
|
QUILT_PATCHES=debian/patches quilt push -a
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Implementation of the JPEG XR image codec standard";
|
|
homepage = "https://jxrlib.codeplex.com";
|
|
license = licenses.bsd2;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ romildo ];
|
|
};
|
|
}
|