Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
738 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
libpng,
libsndfile,
}:
stdenv.mkDerivation rec {
pname = "aptdec";
version = "1.8.0";
src = fetchFromGitHub {
owner = "Xerbo";
repo = "aptdec";
tag = "v${version}";
hash = "sha256-5Pr2PlCPSEIWnThJXKcQEudmxhLJC2sVa9BfAOEKHB4=";
fetchSubmodules = true;
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
libpng
libsndfile
];
meta = with lib; {
description = "NOAA APT satellite imagery decoding library";
mainProgram = "aptdec";
homepage = "https://github.com/Xerbo/aptdec";
license = licenses.gpl2;
maintainers = with maintainers; [ alexwinter ];
platforms = platforms.unix;
};
}